diff options
author | Josh Susser <josh@hasmanythrough.com> | 2011-11-27 11:22:12 -0800 |
---|---|---|
committer | Josh Susser <josh@hasmanythrough.com> | 2011-11-27 11:22:12 -0800 |
commit | 61bcc318c865289d215e8e19618b9414bd07d1e8 (patch) | |
tree | 1bc644f4152dc4315d8490b099c24abc2815088c /activerecord/test/models | |
parent | 9cdf33af0bc46fde1ad50346b8271251c2b4aa69 (diff) | |
download | rails-61bcc318c865289d215e8e19618b9414bd07d1e8.tar.gz rails-61bcc318c865289d215e8e19618b9414bd07d1e8.tar.bz2 rails-61bcc318c865289d215e8e19618b9414bd07d1e8.zip |
use GeneratedFeatureMethods module for associations
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/author.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/models/author.rb b/activerecord/test/models/author.rb index 23db5650d4..bfadfd9d75 100644 --- a/activerecord/test/models/author.rb +++ b/activerecord/test/models/author.rb @@ -128,7 +128,6 @@ class Author < ActiveRecord::Base belongs_to :author_address, :dependent => :destroy belongs_to :author_address_extra, :dependent => :delete, :class_name => "AuthorAddress" - has_many :post_categories, :through => :posts, :source => :categories has_many :category_post_comments, :through => :categories, :source => :post_comments has_many :misc_posts, :class_name => 'Post', |