Sha256: 6ae5f47054c89df326d78fd271dfd6a9e1a40ce1e218816bed1730f5c2d1ba5b
Contents?: true
Size: 579 Bytes
Versions: 11
Compression:
Stored size: 579 Bytes
Contents
# Be sure to restart your server when you modify this file. # Rails31App::Application.config.session_store :cookie_store, :key => '_rails_3.1_app_session' # Use the database for sessions instead of the cookie-based default, # which shouldn't be used to store highly confidential information # (create the session table with "rails generate session_migration") MongoStore::Session.database = Mongo::Connection.new.db("rails31_app_#{Rails.env}") if ENV['MONGO_SESSION_STORE_ORM'] == "mongo" Rails31App::Application.config.session_store :"#{ENV['MONGO_SESSION_STORE_ORM']}_store"
Version data entries
11 entries across 11 versions & 2 rubygems