diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-10-10 02:38:56 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-10 02:38:56 +0900 |
commit | 82ac2114a137e4f1a909b24028cd0330752d801c (patch) | |
tree | 1311a4ebddbbb4f8caea8b5c2425084e28566823 /activerecord | |
parent | a1ee4a9ff9d4a3cb255365310ead0dc7b739c6be (diff) | |
parent | 3969de3e876e003e305b58bd82c82d2079b52e28 (diff) | |
download | rails-82ac2114a137e4f1a909b24028cd0330752d801c.tar.gz rails-82ac2114a137e4f1a909b24028cd0330752d801c.tar.bz2 rails-82ac2114a137e4f1a909b24028cd0330752d801c.zip |
Merge pull request #34117 from aergonaut/docs/ActiveRecord--Persistence-belongs_to_touch_method
Add docs to ActiveRecord::Persistence#belongs_to_touch_method
[ci skip]
Diffstat (limited to 'activerecord')
-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 6eb2bfb452..8404119631 100644 --- a/activerecord/lib/active_record/persistence.rb +++ b/activerecord/lib/active_record/persistence.rb @@ -758,6 +758,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 |