1 # Be sure to restart your server when you modify this file.
3 # This file contains migration options to ease your Rails 6.0 upgrade.
5 # Once upgraded flip defaults one by one to migrate to the new default.
7 # Read the Guide for Upgrading Ruby on Rails for more info on each option.
9 # Don't force requests from old versions of IE to be UTF-8 encoded.
10 # Rails.application.config.action_view.default_enforce_utf8 = false
12 # Embed purpose and expiry metadata inside signed and encrypted
13 # cookies for increased security.
15 # This option is not backwards compatible with earlier Rails versions.
16 # It's best enabled when your entire app is migrated and stable on 6.0.
17 # Rails.application.config.action_dispatch.use_cookies_with_metadata = true
19 # Change the return value of `ActionDispatch::Response#content_type` to Content-Type header without modification.
20 # Rails.application.config.action_dispatch.return_only_media_type_on_content_type = false
22 # Return false instead of self when enqueuing is aborted from a callback.
23 # Rails.application.config.active_job.return_false_on_aborted_enqueue = true
25 # Send Active Storage analysis and purge jobs to dedicated queues.
26 # Rails.application.config.active_storage.queues.analysis = :active_storage_analysis
27 # Rails.application.config.active_storage.queues.purge = :active_storage_purge
29 # When assigning to a collection of attachments declared via `has_many_attached`, replace existing
30 # attachments instead of appending. Use #attach to add new attachments without replacing existing ones.
31 # Rails.application.config.active_storage.replace_on_assign_to_many = true
33 # Use ActionMailer::MailDeliveryJob for sending parameterized and normal mail.
35 # The default delivery jobs (ActionMailer::Parameterized::DeliveryJob, ActionMailer::DeliveryJob),
36 # will be removed in Rails 6.1. This setting is not backwards compatible with earlier Rails versions.
37 # If you send mail in the background, job workers need to have a copy of
38 # MailDeliveryJob to ensure all delivery jobs are processed properly.
39 # Make sure your entire app is migrated and stable on 6.0 before using this setting.
40 # Rails.application.config.action_mailer.delivery_job = "ActionMailer::MailDeliveryJob"
42 # Enable the same cache key to be reused when the object being cached of type
43 # `ActiveRecord::Relation` changes by moving the volatile information (max updated at and count)
44 # of the relation's cache key into the cache version to support recycling cache key.
45 # Rails.application.config.active_record.collection_cache_versioning = true