diff options
author | Roque Pinel <repinel@gmail.com> | 2015-06-02 21:34:32 -0500 |
---|---|---|
committer | Roque Pinel <repinel@gmail.com> | 2015-06-02 22:16:10 -0500 |
commit | efa1648f282f3844656e5a89ea2207934bcb1130 (patch) | |
tree | 233e4064ee3de4ceea0265c607e7771998f9c7a5 /activerecord/test/migrations/rename/1_we_need_things.rb | |
parent | 8193a09a1f0f15c4b7624d6c24e8a779baa64d39 (diff) | |
download | rails-efa1648f282f3844656e5a89ea2207934bcb1130.tar.gz rails-efa1648f282f3844656e5a89ea2207934bcb1130.tar.bz2 rails-efa1648f282f3844656e5a89ea2207934bcb1130.zip |
[ci skip] fix the `collection.clear` guide
Improve the guide about `has_many` `collection.clear` to indicate
the behavior for each dependent strategy according to
`collection.delete_all`.
Based on #17179, I changed the `collection.delete` docs to also
clarify the default strategy for each `hm` and `hm:t` associations.
Fixes #20170.
Diffstat (limited to 'activerecord/test/migrations/rename/1_we_need_things.rb')
0 files changed, 0 insertions, 0 deletions