Skip to content
Browse files

Removed deprecated threadsafe!

  • Loading branch information...
1 parent 6707f92 commit d7f87249923e494baed881e02f5820776eeac39a @pftg pftg committed Jul 3, 2013
Showing with 0 additions and 10 deletions.
  1. +0 −10 railties/lib/rails/application/configuration.rb
View
10 railties/lib/rails/application/configuration.rb
@@ -87,16 +87,6 @@ def paths
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

0 comments on commit d7f8724

Please sign in to comment.
Something went wrong with that request. Please try again.