Sha256: 108708d349c377f287d75954580915adac0b85d33f91708227803a7b5e046b70
Contents?: true
Size: 470 Bytes
Versions: 14
Compression:
Stored size: 470 Bytes
Contents
require 'mongo_mapper' require 'mongo_session_store/mongo_store_base' module ActionDispatch module Session class MongoMapperStore < MongoStoreBase class Session include MongoMapper::Document set_collection_name MongoSessionStore.collection_name key :_id, String key :data, Binary, :default => Marshal.dump({}) timestamps! end end end end MongoMapperStore = ActionDispatch::Session::MongoMapperStore
Version data entries
14 entries across 14 versions & 4 rubygems