Skip to content

Commit

Permalink
By definition, new apps wont have any deprecations to worry about. So…
Browse files Browse the repository at this point in the history
… dont expose those controls for new apps by default (#51831)
  • Loading branch information
dhh committed May 15, 2024
1 parent a82e432 commit 427fe4a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ Rails.application.configure do
# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log

# Raise exceptions for disallowed deprecations.
config.active_support.disallowed_deprecation = :raise

# Tell Active Support which deprecation messages to disallow.
config.active_support.disallowed_deprecation_warnings = []

<%- unless options.skip_active_record? -%>
# Raise an error on page load if there are pending migrations.
config.active_record.migration_error = :page_load
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ Rails.application.configure do
# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr

# Raise exceptions for disallowed deprecations.
config.active_support.disallowed_deprecation = :raise

# 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

Expand Down

0 comments on commit 427fe4a

Please sign in to comment.