instance method
update
Ruby on Rails 3.1.12
Since v3.0.20 Last seen in v3.2.22.5 PrivateSignature
update(*)
No documentation comment.
Parameters
-
argsrest
Source
# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 70
def update(*)
if partial_updates?
# Serialized attributes should always be written in case they've been
# changed in place.
super(changed | (attributes.keys & self.class.serialized_attributes.keys))
else
super
end
end
Defined in activerecord/lib/active_record/attribute_methods/dirty.rb line 70
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::AttributeMethods::Dirty