Skip to content

Commit 5b79e80

Browse files
committed
Follow instructions in config/initializers/new_framework_defaults_7_1.rb
1 parent 492ec9e commit 5b79e80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config/environments/test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
config.cache_store = :null_store
3030

3131
# Render exception templates for rescuable exceptions and raise for other exceptions.
32-
config.action_dispatch.show_exceptions = :rescuable
32+
config.action_dispatch.show_exceptions = :none
3333

3434
# Disable request forgery protection in test environment.
3535
config.action_controller.allow_forgery_protection = false

config/initializers/new_framework_defaults_7_1.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# Do not treat an `ActionController::Parameters` instance
3636
# as equal to an equivalent `Hash` by default.
3737
#++
38-
# Rails.application.config.action_controller.allow_deprecated_parameters_hash_equality = false
38+
Rails.application.config.action_controller.allow_deprecated_parameters_hash_equality = false
3939

4040
###
4141
# Active Record Encryption now uses SHA-256 as its hash digest algorithm.
@@ -65,7 +65,7 @@
6565
# state which matches what was committed to the database, typically the last
6666
# instance to save.
6767
#++
68-
# Rails.application.config.active_record.run_commit_callbacks_on_first_saved_instances_in_transaction = false
68+
Rails.application.config.active_record.run_commit_callbacks_on_first_saved_instances_in_transaction = false
6969

7070
###
7171
# Configures SQLite with a strict strings mode, which disables double-quoted string literals.

0 commit comments

Comments
 (0)