提交 e6041cae 编写于 作者: R Rafael Mendonça França

Merge pull request #11279 from jetthoughts/removed_threadsafe_deprectaed_option

Removed deprecated threadsafe! from Rails Config
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册