From 3969de3e876e003e305b58bd82c82d2079b52e28 Mon Sep 17 00:00:00 2001 From: Chris Fung Date: Sun, 7 Oct 2018 14:12:06 -0700 Subject: Add docs to ActiveRecord::Persistence#belongs_to_touch_method [ci skip] --- activerecord/lib/active_record/persistence.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb index 7ceb7d1a55..fd7466dfaf 100644 --- a/activerecord/lib/active_record/persistence.rb +++ b/activerecord/lib/active_record/persistence.rb @@ -593,6 +593,8 @@ module ActiveRecord @_association_destroy_exception = nil end + # The name of the method used to touch a +belongs_to+ association when the + # +:touch+ option is used. def belongs_to_touch_method :touch end -- cgit v1.2.3