Skip to content

Commit 4abcd32

Browse files
committed
String to symbol
1 parent 922dd27 commit 4abcd32

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
@@ -521,7 +521,7 @@ to `comments` underneath a `links` key:
521521
class PostSerializer < ActiveModel::Serializer
522522
attributes :id, :title, :body
523523

524-
has_many :comments, embed: ids, embed_namespace: :links
524+
has_many :comments, embed: :ids, embed_namespace: :links
525525
end
526526
```
527527

0 commit comments

Comments
 (0)