mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Fix another symbol related typo
This commit is contained in:
parent
4abcd3209e
commit
d6735749b3
@ -612,7 +612,7 @@ the root document (say, `linked`), you can specify an `embed_in_root_key`:
|
||||
|
||||
```ruby
|
||||
class PostSerializer < ActiveModel::Serializer
|
||||
embed: ids, include: true, embed_in_root_key: :linked
|
||||
embed :ids, include: true, embed_in_root_key: :linked
|
||||
|
||||
attributes: :id, :title, :body
|
||||
has_many :comments, :tags
|
||||
|
||||
Loading…
Reference in New Issue
Block a user