aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/author.rb
diff options
context:
space:
mode:
authorJosh Susser <josh@hasmanythrough.com>2011-11-27 11:22:12 -0800
committerJosh Susser <josh@hasmanythrough.com>2011-11-27 11:22:12 -0800
commit61bcc318c865289d215e8e19618b9414bd07d1e8 (patch)
tree1bc644f4152dc4315d8490b099c24abc2815088c /activerecord/test/models/author.rb
parent9cdf33af0bc46fde1ad50346b8271251c2b4aa69 (diff)
downloadrails-61bcc318c865289d215e8e19618b9414bd07d1e8.tar.gz
rails-61bcc318c865289d215e8e19618b9414bd07d1e8.tar.bz2
rails-61bcc318c865289d215e8e19618b9414bd07d1e8.zip
use GeneratedFeatureMethods module for associations
Diffstat (limited to 'activerecord/test/models/author.rb')
-rw-r--r--activerecord/test/models/author.rb1
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',