Remove dependency on Mongo gem?
Closed this issue · 2 comments
I'm trying to use this gem in a Mongoid environment. I have no need for the Mongo gem - it just adds app bloat for me
So, given that this gem is meant to work with all manner of Mongo-based setups, and for Mongoid or MongoMapper, you have to install the appropriate gem yourself, would you consider doing the same for plain Mongo?
That is, remove this line: https://github.com/brianhempel/mongo_session_store/blob/master/mongo_session_store-rails3.gemspec#L16
And then add appropriate instructions in the README to include that gem manually.
Thanks for considering. I'd be more than happy to submit the pull request myself if this is something that you would consider.
Yes, removing the mongo dependency seems best.
Have you noticed any other issues with Mongoid 3?