Support has_one to be compatible with 0.8.x

Update README and CHANGELOG
This commit is contained in:
Gary Gordon
2014-11-06 14:54:16 -05:00
parent 77fb050d24
commit 651b99f22e
6 changed files with 66 additions and 7 deletions

View File

@@ -99,7 +99,7 @@ AuthorSerializer = Class.new(ActiveModel::Serializer) do
has_many :posts, embed: :ids
has_many :roles, embed: :ids
belongs_to :bio
has_one :bio
end
RoleSerializer = Class.new(ActiveModel::Serializer) do