Flowdock
method

_touch_row

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: ActiveRecord::Persistence
_touch_row(attribute_names, time) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.