spec/support/models/post.rb in active_remote-1.7.1 vs spec/support/models/post.rb in active_remote-1.8.0.rc1

- old
+ new

@@ -7,15 +7,13 @@ service_class ::Generic::Remote::PostService attribute :guid attribute :name attribute :author_guid + attribute :user_guid + attribute :bestseller_guid belongs_to :author belongs_to :coauthor, :class_name => '::Author' belongs_to :bestseller, :class_name => '::Author', :foreign_key => :bestseller_guid - has_one :category - has_one :main_category, :class_name => '::Category' - has_one :default_category, :class_name => '::Category', :foreign_key => :template_post_guid - - alias_method :bestseller_guid, :author_guid + belongs_to :user, :class_name => '::Author', :scope => :user_guid end