aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-02-01 22:56:04 +0000
committerJon Leighton <j@jonathanleighton.com>2011-02-07 23:35:05 +0000
commit05bcb8cecc8573f28ad080839233b4bb9ace07be (patch)
treea5c2f2f164081c64b923eb1fa108d38b78b8d145 /activesupport/test
parentd55406d2e991056b08f69eb68bcf9b17da807b6c (diff)
downloadrails-05bcb8cecc8573f28ad080839233b4bb9ace07be.tar.gz
rails-05bcb8cecc8573f28ad080839233b4bb9ace07be.tar.bz2
rails-05bcb8cecc8573f28ad080839233b4bb9ace07be.zip
Support the :dependent option on has_many :through associations. For historical and practical reasons, :delete_all is the default deletion strategy employed by association.delete(*records), despite the fact that the default strategy is :nullify for regular has_many. Also, this only works at all if the source reflection is a belongs_to. For other situations, you should directly modify the through association.
Diffstat (limited to 'activesupport/test')
0 files changed, 0 insertions, 0 deletions