Sha256: 9bc8768dfcb4e8e44204aea7cfe770414dbf32f7d4648ddb74e8d497ac5399e1
Contents?: true
Size: 603 Bytes
Versions: 5
Compression:
Stored size: 603 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::Client.new(['127.0.0.1:27017'], database: "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
5 entries across 5 versions & 4 rubygems