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

Version Path
mongo_session_store-rails3-5.1.0 spec/rails_3.1_app/config/initializers/session_store.rb
mongo_session_store-rails4-5.1.0 spec/rails_3.1_app/config/initializers/session_store.rb
mongo_session_store-rails3-5.0.1 spec/rails_3.1_app/config/initializers/session_store.rb
mongo_session_store-rails4-5.0.1 spec/rails_3.1_app/config/initializers/session_store.rb
mongo_session_store-rails3-5.0.0 spec/rails_3.1_app/config/initializers/session_store.rb
mongo_session_store-rails4-5.0.0 spec/rails_3.1_app/config/initializers/session_store.rb
mongo_session_store-rails3-4.1.1 spec/rails_3.1_app/config/initializers/session_store.rb
mongo_session_store-rails3-4.1.0 spec/rails_3.1_app/config/initializers/session_store.rb
mongo_session_store-rails3-4.0.0 spec/rails_3.1_app/config/initializers/session_store.rb
mongo_session_store-rails3-3.0.6 spec/rails_3.1_app/config/initializers/session_store.rb
mongo_session_store-rails3-3.0.5 spec/rails_3.1_app/config/initializers/session_store.rb