Merge pull request #628 from sachse/readme-fix

Readme typo fixes
This commit is contained in:
Steve Klabnik 2014-09-02 16:34:15 -04:00
commit 605408005f

View File

@ -521,7 +521,7 @@ to `comments` underneath a `links` key:
class PostSerializer < ActiveModel::Serializer class PostSerializer < ActiveModel::Serializer
attributes :id, :title, :body attributes :id, :title, :body
has_many :comments, embed: ids, embed_namespace: :links has_many :comments, embed: :ids, embed_namespace: :links
end end
``` ```