aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-11-03 13:12:04 +0000
committerJon Leighton <j@jonathanleighton.com>2011-11-03 13:13:13 +0000
commit19b2a5f2bdd5bf6404bfc3e574b7477038e9b2bf (patch)
treee56662ad1827608c92a2e0088c8bca3cfab2ff38 /activerecord/lib/active_record/reflection.rb
parent71bc921ec8ac89840077bb54752282a3d89429f6 (diff)
downloadrails-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/reflection.rb')
0 files changed, 0 insertions, 0 deletions