diff --git a/config/environments/development.rb b/config/environments/development.rb index 13479dc3414..1ad4459f3c2 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,3 +1,5 @@ +Warning[:deprecated] = true + Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. diff --git a/config/environments/test.rb b/config/environments/test.rb index 467972d2e42..09ee31b58ec 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -3,6 +3,8 @@ # your test database is "scratch space" for the test suite and is wiped # and recreated between test runs. Don't rely on the data there! +Warning[:deprecated] = true + Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb.