diff --git a/config/initializers/100-oj.rb b/config/initializers/100-oj.rb index 0936beaa79e..57991081c22 100644 --- a/config/initializers/100-oj.rb +++ b/config/initializers/100-oj.rb @@ -3,6 +3,7 @@ Oj::Rails.set_encoder() Oj::Rails.set_decoder() Oj::Rails.optimize() +Oj.default_options = Oj.default_options.merge(mode: :compat) # Not sure why it's not using this by default! MultiJson.engine = :oj