brianhempel/mongo_session_store — pull request #27 by galfert (2014-03-06 14:07:29+00:00)
Title: Only use overwrite option when available

I just realized that the `overwrite` option from my last pull request was just introduced with Mongoid 4.

This change checks if the option is available first, to keep compatibility with Mongoid 3.