instance method belongs_to_touch_method

Ruby on Rails 7.0.10

Since v5.2.8.1 Last seen in v7.0.10 Private

Available in: v5.2.8.1 v6.0.6 v6.1.7.10 v7.0.10

Signature

belongs_to_touch_method()

The name of the method used to touch a belongs_to association when the :touch option is used.

Source
# File activerecord/lib/active_record/persistence.rb, line 1137
    def belongs_to_touch_method
      :touch
    end

Defined in activerecord/lib/active_record/persistence.rb line 1137 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Persistence

Type at least 2 characters to search.

↑↓ navigate · open · esc close