Skip to content

Commit

Permalink
Document Rabl setting oj's mode
Browse files Browse the repository at this point in the history
https://github.com/nesquena/rabl/blob/02b3464a6dfb27a4a34365303974604688d7eb2b/lib/rabl/configuration.rb#L22 is a subtle behavior that's worth calling out, since it can impact other parts of a project that use `oj`.
  • Loading branch information
ghiculescu authored Feb 21, 2022
1 parent e43183a commit ad9086c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ or add to your Gemfile:
# Gemfile
gem 'rabl'
# Also add either `oj` or `yajl-ruby` as the JSON parser
# If using `oj`, Rabl will set the mode to :compat
gem 'oj'
```

Expand Down

0 comments on commit ad9086c

Please sign in to comment.