diff --git a/config/initializers/new_framework_defaults_7_0.rb b/config/initializers/new_framework_defaults_7_0.rb index b13ef5ed1..dc2a47f9d 100644 --- a/config/initializers/new_framework_defaults_7_0.rb +++ b/config/initializers/new_framework_defaults_7_0.rb @@ -43,12 +43,6 @@ # Set both the `:open_timeout` and `:read_timeout` values for `:smtp` delivery method. # Rails.application.config.action_mailer.smtp_timeout = 5 -# The ActiveStorage video previewer will now use scene change detection to generate -# better preview images (rather than the previous default of using the first frame -# of the video). -# Rails.application.config.active_storage.video_preview_arguments = -# "-vf 'select=eq(n\\,0)+eq(key\\,1)+gt(scene\\,0.015),loop=loop=-1:size=2,trim=start_frame=1' -frames:v 1 -f image2" - # Automatically infer `inverse_of` for associations with a scope. # Rails.application.config.active_record.automatic_scope_inversing = true @@ -63,13 +57,6 @@ # Protect from open redirect attacks in `redirect_back_or_to` and `redirect_to`. # Rails.application.config.action_controller.raise_on_open_redirects = true -# Change the variant processor for Active Storage. -# Changing this default means updating all places in your code that -# generate variants to use image processing macros and ruby-vips -# operations. See the upgrading guide for detail on the changes required. -# The `:mini_magick` option is not deprecated; it's fine to keep using it. -# Rails.application.config.active_storage.variant_processor = :vips - # Enable parameter wrapping for JSON. # Previously this was set in an initializer. It's fine to keep using that initializer if you've customized it. # To disable parameter wrapping entirely, set this config to `false`. @@ -92,7 +79,6 @@ # "Referrer-Policy" => "strict-origin-when-cross-origin" # } - # ** Please read carefully, this must be configured in config/application.rb ** # Change the format of the cache entry. # Changing this default means that all new cache entries added to the cache @@ -102,7 +88,6 @@ # When you're ready to change format, add this to `config/application.rb` (NOT this file): # config.active_support.cache_format_version = 7.0 - # Cookie serializer: 2 options # # If you're upgrading and haven't set `cookies_serializer` previously, your cookie serializer @@ -132,11 +117,6 @@ # Change the return value of `ActionDispatch::Request#content_type` to the Content-Type header without modification. # Rails.application.config.action_dispatch.return_only_request_media_type_on_content_type = false -# Active Storage `has_many_attached` relationships will default to replacing the current collection instead of appending to it. -# Thus, to support submitting an empty collection, the `file_field` helper will render an hidden field `include_hidden` by default when `multiple_file_field_include_hidden` is set to `true`. -# See https://guides.rubyonrails.org/configuring.html#config-active-storage-multiple-file-field-include-hidden for more information. -# Rails.application.config.active_storage.multiple_file_field_include_hidden = true - # ** Please read carefully, this must be configured in config/application.rb (NOT this file) ** # Disables the deprecated #to_s override in some Ruby core classes # See https://guides.rubyonrails.org/configuring.html#config-active-support-disable-to-s-conversion for more information.