mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Removed deprecated threadsafe!
This commit is contained in:
parent
6707f92c08
commit
d7f8724992
1 changed files with 0 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue