diff options
author | Jon Leighton <j@jonathanleighton.com> | 2010-10-19 17:22:42 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2010-10-19 17:22:42 +0100 |
commit | 82b889f7d37249adaa606558d4c05356b3e84d9a (patch) | |
tree | 5ef73ccfadb32c90f66890aceb72a1ea80c50d4b /activerecord/test/models/author.rb | |
parent | 1f7415ab3a5b433ecfb0c10d66343a894d73914a (diff) | |
download | rails-82b889f7d37249adaa606558d4c05356b3e84d9a.tar.gz rails-82b889f7d37249adaa606558d4c05356b3e84d9a.tar.bz2 rails-82b889f7d37249adaa606558d4c05356b3e84d9a.zip |
Add explicit tests for the nested through association changes in reflection.rb
Diffstat (limited to 'activerecord/test/models/author.rb')
-rw-r--r-- | activerecord/test/models/author.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/models/author.rb b/activerecord/test/models/author.rb index dd8a20ce9b..7dcfbd268b 100644 --- a/activerecord/test/models/author.rb +++ b/activerecord/test/models/author.rb @@ -90,6 +90,7 @@ class Author < ActiveRecord::Base has_many :distinct_tags, :through => :posts, :source => :tags, :select => "DISTINCT tags.*", :order => "tags.name" has_many :post_categories, :through => :posts, :source => :categories has_many :tagging_tags, :through => :taggings, :source => :tag + has_many :tags_with_primary_key, :through => :posts has_many :books has_many :subscriptions, :through => :books |