diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-11-03 13:12:04 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-11-03 13:13:13 +0000 |
commit | 19b2a5f2bdd5bf6404bfc3e574b7477038e9b2bf (patch) | |
tree | e56662ad1827608c92a2e0088c8bca3cfab2ff38 /activerecord/lib/active_record/nested_attributes.rb | |
parent | 71bc921ec8ac89840077bb54752282a3d89429f6 (diff) | |
download | rails-19b2a5f2bdd5bf6404bfc3e574b7477038e9b2bf.tar.gz rails-19b2a5f2bdd5bf6404bfc3e574b7477038e9b2bf.tar.bz2 rails-19b2a5f2bdd5bf6404bfc3e574b7477038e9b2bf.zip |
Remove all revelant through records.
If a record is removed from a has_many :through, all of the join records
relating to that record should also be removed from the through
association's target.
(Previously the records were removed in the database, but only one was
removed from the in-memory target array.)
Diffstat (limited to 'activerecord/lib/active_record/nested_attributes.rb')
0 files changed, 0 insertions, 0 deletions