1
0
Fork 0
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:
Paul Nikitochkin 2013-07-03 22:47:08 +03:00
parent 6707f92c08
commit d7f8724992

View file

@ -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