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