brianhempel/mongo_session_store

Session:Class (NoMethodError)

Closed this issue · 2 comments

When using the mongo_session_store with mongoid 3.0.6, I get the following error at startup:

mongo_session_store/mongoid_store.rb:12:in `<class:Session>': undefined method `collection_name=' for ActionDispatch::Session::MongoidStore::Session:Class (NoMethodError)

Someone else mentioned the same error on a forum here:

https://groups.google.com/forum/?fromgroups=#!topic/mongoid/3N-5uwn-ISQ

Sorry, I'm out of country, away from a development comp. Pull requests welcome; it shouldn't be hard.

Also, I'm willing to give collaborator privileges to anyone who asks.

Version 4.0.0 has just been released, which adds Mongoid 3 support from canavese #14.