Skip to content

Commit ac3a23f

Browse files
authored
Merge pull request #2106 from jeffrey008/patch-1
FIx the backticks [ci skip]
2 parents ed72979 + 7d89e26 commit ac3a23f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,11 @@ BlogSerializer.new(object, key_format: :lower_camel)
251251

252252
You can specify that serializers use unsuffixed names as association keys by default.
253253

254-
`````ruby
254+
```ruby
255255
ActiveModel::Serializer.setup do |config|
256256
config.default_key_type = :name
257257
end
258-
````
258+
```
259259

260260
This will build association keys like `comments` or `author` instead of `comment_ids` or `author_id`.
261261

@@ -932,7 +932,7 @@ now generates:
932932
class PostSerializer < ApplicationSerializer
933933
attributes :id
934934
end
935-
````
935+
```
936936

937937
# Design and Implementation Guidelines
938938

0 commit comments

Comments
 (0)