1

In my model there is validation and some callbacks

 class User < ActiveRecord::Base
   validates :name, :email, presence: true
   after_save :send_mail

 end 

In my controller I can skip the validation while save the data using save(false) or save(:validate => false)

can I do the same thing for callbacks

like save(:callback => false)

Thanks

Rajarshi Das
  • 13,633
  • 4
  • 44
  • 60

0 Answers0