method
_touch_row
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::Persistence
_touch_row(attribute_names, time)private
No documentation available.
# File activerecord/lib/active_record/persistence.rb, line 684
def _touch_row(attribute_names, time)
time ||= current_time_from_proper_timezone
attribute_names.each do |attr_name|
write_attribute(attr_name, time)
clear_attribute_change(attr_name)
end
_update_row(attribute_names, "touch")
end