method

threadsafe!

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: Rails::Application::Configuration
threadsafe!() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/application/configuration.rb, line 91
      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
Register or log in to add new notes.