spec/support/models/author.rb in active_remote-1.3.0 vs spec/support/models/author.rb in active_remote-1.3.1
- old
+ new
@@ -9,7 +9,8 @@
attribute :guid
attribute :name
has_many :posts
has_many :flagged_posts, :class_name => "::Post"
+ has_many :bestseller_posts, :class_name => "::Post", :foreign_key => :bestseller_guid
end