instance method
changed_attributes
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18 PrivateAvailable in: v2.2.3 v2.3.18
Signature
changed_attributes()
Map of change attr => original value.
Source
# File activerecord/lib/active_record/dirty.rb, line 101
def changed_attributes
@changed_attributes ||= {}
end
Defined in activerecord/lib/active_record/dirty.rb line 101
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Dirty