Flowdock
method

touch_attributes_with_time

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: ClassMethods
touch_attributes_with_time(*names, time: nil) public

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/timestamp.rb, line 56
      def touch_attributes_with_time(*names, time: nil)
        attribute_names = timestamp_attributes_for_update_in_model
        attribute_names |= names.map(&:to_s)
        attribute_names.index_with(time || current_time_from_proper_timezone)
      end
Register or log in to add new notes.