Tidy up comments in environment configuration files [ci skip]

https://guides.rubyonrails.org/api_documentation_guidelines.html#wording
This commit is contained in:
Eugene Kenny 2020-11-02 19:51:58 +00:00
parent b7eaaf73fb
commit 56c9be11ad
3 changed files with 9 additions and 9 deletions

View File

@ -47,10 +47,10 @@ Rails.application.configure do
# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log
# Raise exceptions for disallowed deprecations
# Raise exceptions for disallowed deprecations.
config.active_support.disallowed_deprecation = :raise
# Tell ActiveSupport which deprecating messages to disallow
# Tell Active Support which deprecation messages to disallow.
config.active_support.disallowed_deprecation_warnings = []
<%- unless options.skip_active_record? -%>
@ -74,13 +74,13 @@ Rails.application.configure do
# Raises error for missing translations.
# config.i18n.raise_on_missing_translations = true
# Annotate rendered view with file names
# Annotate rendered view with file names.
# config.action_view.annotate_rendered_view_with_filenames = true
# Use an evented file watcher to asynchronously detect changes in source code,
# routes, locales, etc. This feature depends on the listen gem.
<%= '# ' unless depend_on_listen? %>config.file_watcher = ActiveSupport::EventedFileUpdateChecker
# Uncomment if you wish to allow Action Cable access from any origin
# Uncomment if you wish to allow Action Cable access from any origin.
# config.action_cable.disable_request_forgery_protection = true
end

View File

@ -87,10 +87,10 @@ Rails.application.configure do
# Send deprecation notices to registered listeners.
config.active_support.deprecation = :notify
# Log disallowed deprecations
# Log disallowed deprecations.
config.active_support.disallowed_deprecation = :log
# Tell ActiveSupport which deprecating messages to disallow
# Tell Active Support which deprecation messages to disallow.
config.active_support.disallowed_deprecation_warnings = []
# Use default logging formatter so that PID and timestamp are not suppressed.

View File

@ -55,15 +55,15 @@ Rails.application.configure do
# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr
# Raise exceptions for disallowed deprecations
# Raise exceptions for disallowed deprecations.
config.active_support.disallowed_deprecation = :raise
# Tell ActiveSupport which deprecating messages to disallow
# Tell Active Support which deprecation messages to disallow.
config.active_support.disallowed_deprecation_warnings = []
# Raises error for missing translations.
# config.i18n.raise_on_missing_translations = true
# Annotate rendered view with file names
# Annotate rendered view with file names.
# config.action_view.annotate_rendered_view_with_filenames = true
end