diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-07-03 12:54:41 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-07-03 12:54:41 -0700 |
commit | e6041caee7b7fb7b983355649202cb51cc6dacf4 (patch) | |
tree | deb9d8ae47aa18fd0eb6f212c9ac41a5c0530914 | |
parent | 6707f92c086e1d7e7e70c2483c942b400329b76c (diff) | |
parent | d7f87249923e494baed881e02f5820776eeac39a (diff) | |
download | rails-e6041caee7b7fb7b983355649202cb51cc6dacf4.tar.gz rails-e6041caee7b7fb7b983355649202cb51cc6dacf4.tar.bz2 rails-e6041caee7b7fb7b983355649202cb51cc6dacf4.zip |
Merge pull request #11279 from jetthoughts/removed_threadsafe_deprectaed_option
Removed deprecated threadsafe! from Rails Config
-rw-r--r-- | railties/lib/rails/application/configuration.rb | 10 |
1 files changed, 0 insertions, 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 |