mirror of https://github.com/rails/rails
default annotate_rendered_view_with_filenames to true in development
remove whitespaces remove whitespaces
This commit is contained in:
parent
1a4f40f0f0
commit
475bb4b1ed
|
@ -1,3 +1,8 @@
|
|||
* Set `config.action_view.annotate_rendered_view_with_filenames` to `true` in the
|
||||
development environment.
|
||||
|
||||
*Adrian Marin*
|
||||
|
||||
* Support `BACKTRACE` ENV variable to turn off backtrace cleaning.
|
||||
|
||||
Useful for debugging framework code:
|
||||
|
|
|
@ -78,7 +78,7 @@ Rails.application.configure do
|
|||
# config.i18n.raise_on_missing_translations = true
|
||||
|
||||
# Annotate rendered view with file names.
|
||||
# config.action_view.annotate_rendered_view_with_filenames = true
|
||||
config.action_view.annotate_rendered_view_with_filenames = true
|
||||
|
||||
<%- unless skip_action_cable? -%>
|
||||
# Uncomment if you wish to allow Action Cable access from any origin.
|
||||
|
|
|
@ -143,6 +143,8 @@ module TestHelpers
|
|||
config.action_controller.allow_forgery_protection = false
|
||||
RUBY
|
||||
|
||||
add_to_env_config :development, "config.action_view.annotate_rendered_view_with_filenames = false"
|
||||
|
||||
remove_from_env_config("development", "config.generators.apply_rubocop_autocorrect_after_generate!")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue