30 lines
1.4 KiB
Ruby
30 lines
1.4 KiB
Ruby
# Be sure to restart your server when you modify this file.
|
|
#
|
|
# This file contains migration options to ease your Rails 7.0 upgrade.
|
|
#
|
|
# Once upgraded flip defaults one by one to migrate to the new default.
|
|
#
|
|
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
|
|
|
# `button_to` view helper will render `<button>` element, regardless of whether
|
|
# or not the content is passed as the first argument or as a block.
|
|
# Rails.application.config.action_view.button_to_generates_button_tag = true
|
|
|
|
# `stylesheet_link_tag` view helper will not render the media attribute by default.
|
|
# Rails.application.config.action_view.apply_stylesheet_media_default = false
|
|
|
|
# Change the digest class for the key generators to `OpenSSL::Digest::SHA256`.
|
|
# Changing this default means invalidate all encrypted messages generated by
|
|
# your application and, all the encrypted cookies. Only change this after you
|
|
# rotated all the messages using the key rotator.
|
|
#
|
|
# See upgrading guide for more information on how to build a rotator.
|
|
# https://guides.rubyonrails.org/v7.0/upgrading_ruby_on_rails.html
|
|
# Rails.application.config.active_support.key_generator_hash_digest_class = OpenSSL::Digest::SHA256
|
|
|
|
# Change the digest class for ActiveSupport::Digest.
|
|
# Changing this default means that for example Etags change and
|
|
# various cache keys leading to cache invalidation.
|
|
#
|
|
# Rails.application.config.active_support.hash_digest_class = OpenSSL::Digest::SHA256
|