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
  • 11,778
  • 6
  • 46
  • 74

0 Answers0