mongo_session_store
mongo_session_store copied to clipboard
Issue 31: deserializing all fields in plain old mongo driver
Deserializing all fields in plain old mongo driver It resolved issue 31 - there are no new document at every request (or they are removed). No automatic tests written, tested only with with my application. Unfortunately it still creates several documents for single session (in my case - three for ca. 10 requests).
Tested with mongo_session_store-rails4 5.1.0 version, mongo 1.12.3, rails 4.1.12. MongoDB server v3.0.3.
Thanks for the PR.
I'm not prepared to merge this until more people report trouble. As mentioned in #31, this doesn't seem to happen with the Mongo 2 driver. I'm not prepared to fight with backwards compatibility at this point.