spec/support/models/post.rb in active_remote-5.1.1 vs spec/support/models/post.rb in active_remote-5.2.0.alpha

- old
+ new

@@ -4,14 +4,14 @@ # Define a generic class that inherits from active remote base # class Post < ::ActiveRemote::Base service_class ::Generic::Remote::PostService - attribute :guid - attribute :name - attribute :author_guid - attribute :user_guid - attribute :bestseller_guid + attribute :guid, :string + attribute :name, :string + attribute :author_guid, :string + attribute :user_guid, :string + attribute :bestseller_guid, :string belongs_to :author belongs_to :coauthor, :class_name => "::Author" belongs_to :bestseller, :class_name => "::Author", :foreign_key => :bestseller_guid belongs_to :user, :class_name => "::Author", :scope => :user_guid