instance method
changed_attributes
Ruby on Rails 3.2.22.5
Since v3.0.20Signature
changed_attributes()
Map of change attr => original value.
Source
# File activemodel/lib/active_model/dirty.rb, line 130
def changed_attributes
@changed_attributes ||= {}
end
Defined in activemodel/lib/active_model/dirty.rb line 130
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::Dirty