aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/nested_has_many_through.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2010-10-02 18:50:17 +0100
committerJon Leighton <j@jonathanleighton.com>2010-10-02 18:50:17 +0100
commit34ee586e993ad9e466b81f376fa92feb5d312b4c (patch)
tree5ab70bda381aeb9f068d970a517801ebd06f8e49 /activerecord/lib/active_record/associations/nested_has_many_through.rb
parent4f69a61107d9d59f96bf249ef077483e90babe72 (diff)
downloadrails-34ee586e993ad9e466b81f376fa92feb5d312b4c.tar.gz
rails-34ee586e993ad9e466b81f376fa92feb5d312b4c.tar.bz2
rails-34ee586e993ad9e466b81f376fa92feb5d312b4c.zip
Integrate nested support into ThroughAssociationScope, using my concept of generating a 'chain' of reflections to be joined. It seems to work at the moment, all existing tests are passing. There may be further complications as we add more test cases for nested associations, though.
Diffstat (limited to 'activerecord/lib/active_record/associations/nested_has_many_through.rb')
-rw-r--r--activerecord/lib/active_record/associations/nested_has_many_through.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/associations/nested_has_many_through.rb b/activerecord/lib/active_record/associations/nested_has_many_through.rb
index 2d03b81128..d699a60edb 100644
--- a/activerecord/lib/active_record/associations/nested_has_many_through.rb
+++ b/activerecord/lib/active_record/associations/nested_has_many_through.rb
@@ -1,3 +1,5 @@
+# TODO: Remove in the end, when its functionality is fully integrated in ThroughAssociationScope.
+
module ActiveRecord
module Associations
module NestedHasManyThrough