Skip to content

Commit d673574

Browse files
committed
Fix another symbol related typo
1 parent 4abcd32 commit d673574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ the root document (say, `linked`), you can specify an `embed_in_root_key`:
612612

613613
```ruby
614614
class PostSerializer < ActiveModel::Serializer
615-
embed: ids, include: true, embed_in_root_key: :linked
615+
embed :ids, include: true, embed_in_root_key: :linked
616616

617617
attributes: :id, :title, :body
618618
has_many :comments, :tags

0 commit comments

Comments
 (0)