instance method
_update_record
Ruby on Rails 6.0.6
Since v5.2.8.1 PrivateSignature
_update_record(attribute_names = attribute_names_for_partial_writes)
No documentation comment.
Parameters
-
attribute_namesopt = attribute_names_for_partial_writes
Source
# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 204
def _update_record(attribute_names = attribute_names_for_partial_writes)
affected_rows = super
changes_applied
affected_rows
end
Defined in activerecord/lib/active_record/attribute_methods/dirty.rb line 204
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::AttributeMethods::Dirty