We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cec9eba + 8a0dad6 commit e349395Copy full SHA for e349395
.travis.yml
@@ -12,7 +12,7 @@ ruby_supported_versions:
12
13
jruby_supported_versions:
14
- &jruby_9_1 jruby-9.1.17.0
15
- - &jruby_9_2 jruby-9.2.7.0
+ - &jruby_9_2 jruby-9.2.8.0
16
- &jruby_head jruby-head
17
18
jdk_supported_versions:
test/support/rails_app.rb
@@ -9,6 +9,10 @@ module ActiveModelSerializers
9
config.action_controller.perform_caching = true
10
config.action_controller.cache_store = :memory_store
11
+ if Rails::VERSION::MAJOR >= 6
+ config.action_dispatch.return_only_media_type_on_content_type = true
+ end
+
config.filter_parameters += [:password]
end
0 commit comments