Open jrafanie opened 3 weeks ago
@miq-bot cross-repo-tests /all
I'm looking at cross repo failures
I'm testing this using this in my config/application.rb.
config.action_dispatch.return_only_request_media_type_on_content_type = false
https://www.github.com/rails/rails/pull/36946 https://www.github.com/rails-api/active_model_serializers/pull/2340 "Rails 6 changes the default behavior of ActionDispatch::Response#content_type, which now returns the Content-Type header as it is."
config.action_dispatch.cookies_serializer = :json
Previously was marshal if you didn't specify it in a serializer. I think this should be ok.
https://www.github.com/rails/rails/pull/42538
https://www.github.com/rails/rails/pull/45172
config.action_view.button_to_generates_button_tag = true
determines whether button_to
will render <button>
element, regardless of whether or not the content is passed as the first argument or as a block.
https://www.github.com/rails/rails/pull/41055
config/application.rb
config/initializers/secure_headers.rb
#
.
As far as I can see, belongs_to_required_by_default, is the only override in load_defaults that we manually override. See: https://github.com/rails/rails/blob/d437ae311f1b9dc40b442e40eb602e020cec4e49/railties/lib/rails/application/configuration.rb#L92
This change makes the override explicit.
Fixes #23172