We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 823d0df commit 4312d02Copy full SHA for 4312d02
1 file changed
spec/spec_helper.rb
@@ -3,6 +3,7 @@
3
require 'multi_json'
4
require 'byebug'
5
require 'active_model_serializers'
6
+require 'oj'
7
8
Dir[File.dirname(__FILE__) + '/shared/contexts/*.rb'].each {|file| require file }
9
@@ -13,6 +14,7 @@
13
14
end
15
16
17
+Oj.optimize_rails
18
ActiveModel::Serializer.config.adapter = :json_api
19
ActiveModel::Serializer.config.key_transform = :underscore
20
ActiveModelSerializers.logger = ActiveSupport::TaggedLogging.new(ActiveSupport::Logger.new('/dev/null'))
0 commit comments