commit: 29ffe1cad3f473c7b6c0b651d065f8ed9373d37e
parent: b142a2ebf51fb140062e52cb283736b6d4abe725
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Wed, 5 Apr 2017 18:51:15 +0200
Make sure Rabl is using Oj
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/config/initializers/rabl_init.rb b/config/initializers/rabl_init.rb
@@ -1,4 +1,5 @@
Rabl.configure do |config|
+ config.json_engine = Oj
config.cache_all_output = false
config.cache_sources = Rails.env.production?
config.include_json_root = false