instance method
attribute_change
Ruby on Rails 5.1.7
Since v5.1.7 Last seen in v5.1.7Signature
attribute_change(*)
No documentation comment.
Parameters
-
argsrest
Source
# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 220
def attribute_change(*)
emit_warning_if_needed("attribute_change", "saved_change_to_attribute")
super
end
Defined in activerecord/lib/active_record/attribute_methods/dirty.rb line 220
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::AttributeMethods::Dirty