instance method
belongs_to_touch_method
Ruby on Rails 7.0.10
Since v5.2.8.1 Last seen in v7.0.10 PrivateSignature
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