config/application.rb
# Initialize configuration defaults for originally generated Rails version.
Initialize configuration defaults for originally generated Rails version.
Initialize configuration defaults for originally generated Rails version .
def current_session_id
      return unless current_env
      session = current_env[Rack::RACK_SESSION]
      return unless session
      session.id
    end
def current_session_id return unless current_env session = current_env [ Rack :: RACK_SESSION ] return unless session session . id end
Initialize configuration defaults for originally generated Rails version.
Initialize configuration defaults for originally generated Rails version .