Method: Devise::Orm::DirtyTrackingMethods#devise_respond_to_and_will_save_change_to_attribute?
- Defined in:
- lib/devise/orm.rb
#devise_respond_to_and_will_save_change_to_attribute?(attribute) ⇒ Boolean
32 33 34 |
# File 'lib/devise/orm.rb', line 32 def devise_respond_to_and_will_save_change_to_attribute?(attribute) respond_to?("will_save_change_to_#{attribute}?") && send("will_save_change_to_#{attribute}?") end |