Flowdock
method

initialize_temporary_session_directory

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: Rails::Initializer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

initialize_temporary_session_directory() 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/initializer.rb, line 486
    def initialize_temporary_session_directory
      if configuration.frameworks.include?(:action_controller)
        session_path = "#{configuration.root_path}/tmp/sessions/"
        ActionController::Base.session_options[:tmpdir] = File.exist?(session_path) ? session_path : Dir::tmpdir
      end
    end
Register or log in to add new notes.