diff options
author | Chris Fung <aergonaut@gmail.com> | 2018-10-07 14:12:06 -0700 |
---|---|---|
committer | Chris Fung <aergonaut@gmail.com> | 2018-10-07 14:12:06 -0700 |
commit | 3969de3e876e003e305b58bd82c82d2079b52e28 (patch) | |
tree | 433f40cbbf612c10d37f3a5fdb0419e11d64dfb4 | |
parent | e7f45d370ab10ad86a748ff2ec8b34c54d87b0bf (diff) | |
download | rails-3969de3e876e003e305b58bd82c82d2079b52e28.tar.gz rails-3969de3e876e003e305b58bd82c82d2079b52e28.tar.bz2 rails-3969de3e876e003e305b58bd82c82d2079b52e28.zip |
Add docs to ActiveRecord::Persistence#belongs_to_touch_method
[ci skip]
-rw-r--r-- | activerecord/lib/active_record/persistence.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |