Skip to content

Commit 155ec68

Browse files
committed
Update description for show_exceptions in environments/test.rb
In e28f147 the `show_exceptions` default was updated to `:rescuable` in environments/test.rb. The description still described the old default value (`false`), instead of `:rescuable`.
1 parent 8c82595 commit 155ec68

File tree

1 file changed

+1
-1
lines changed
  • railties/lib/rails/generators/rails/app/templates/config/environments

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Rails.application.configure do
2727
config.action_controller.perform_caching = false
2828
config.cache_store = :null_store
2929

30-
# Raise exceptions instead of rendering exception templates.
30+
# Render exception templates for rescuable exceptions and raise for other exceptions.
3131
config.action_dispatch.show_exceptions = :rescuable
3232

3333
# Disable request forgery protection in test environment.

0 commit comments

Comments
 (0)