Skip to content

Commit 29166b2

Browse files
author
jeffrey008
authored
FIx the backticks
The backticks are wrong, and making the remaining part of doc inside code block. Just a simple fix to the README.
1 parent c54532a commit 29166b2

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
@@ -234,7 +234,7 @@ end
234234

235235
You can specify that serializers use the lower-camel key format at the config, class or instance level.
236236

237-
```ruby
237+
````ruby
238238

239239
ActiveModel::Serializer.setup do |config|
240240
config.key_format = :lower_camel
@@ -245,13 +245,13 @@ class BlogLowerCamelSerializer < ActiveModel::Serializer
245245
end
246246

247247
BlogSerializer.new(object, key_format: :lower_camel)
248-
```
248+
````
249249

250250
## Changing the default association key type
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

0 commit comments

Comments
 (0)