Skip to content

Instantly share code, notes, and snippets.

@nmerouze
Created February 18, 2010 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmerouze/307814 to your computer and use it in GitHub Desktop.
Save nmerouze/307814 to your computer and use it in GitHub Desktop.
config.gem "mongoid"
config.gem "mongo_session_store"
config.gem "mongo_mapper"
config.gem "mongo_session_store", :lib => "mongo_session_store/mongo_mapper"
require "mongo_session_store/mongoid"
ActionController::Base.session_store = :mongoid_store
ActionController::Base.session_store = :mongo_mapper_store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment