From d7f87249923e494baed881e02f5820776eeac39a Mon Sep 17 00:00:00 2001 From: Paul Nikitochkin Date: Wed, 3 Jul 2013 22:47:08 +0300 Subject: [PATCH] Removed deprecated threadsafe! --- railties/lib/rails/application/configuration.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/railties/lib/rails/application/configuration.rb b/railties/lib/rails/application/configuration.rb index 0c4245b55b..7332444ab9 100644 --- a/railties/lib/rails/application/configuration.rb +++ b/railties/lib/rails/application/configuration.rb @@ -87,16 +87,6 @@ module Rails end end - def threadsafe! - message = "config.threadsafe! is deprecated. Rails applications " \ - "behave by default as thread safe in production as long as config.cache_classes and " \ - "config.eager_load are set to true" - ActiveSupport::Deprecation.warn message - @cache_classes = true - @eager_load = true - self - end - # Loads and returns the configuration of the database. def database_configuration yaml = paths["config/database"].first