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