aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/reference.rb
Commit message (Collapse)AuthorAgeFilesLines
* Support the :dependent option on has_many :through associations. For ↵Jon Leighton2011-02-071-0/+12
| | | | 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.
* eagerly loaded association records should respect default_scope [#2931 ↵Subba Rao Pasupuleti2010-07-211-0/+5
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure table names are quoted by the association preloading code.Frederick Cheung2008-04-261-0/+4
[#45 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com>