Socket
Book a DemoInstallSign in
Socket

mongo_session_gaggle

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongo_session_gaggle

0.0.2
bundlerRubygems
Version published
Maintainers
1
Created
Source

=== Mongo Session Gaggle

A simple barebones session store for MongoDB, for Rails 3.x only, with no extra code for Rack applications. It also will log the runtime for session retrieval and updates. You must connect to MongoDB on its behalf.

=== Installation

gem install mongo_session_gaggle

=== Configuration

At Zedkit we use the Mongoid ORM. An initializer example with a connection from there would be as follows:

Rails.application.config.session_store :mongo_store, :key => '_whatever', :expire_after => 30.days,
                                       :collection => lambda { Mongoid.master.collection('sessions') }

But you can of course connect with whatever ORM you prefer.

== Copyright

Copyright (c) 2010 Zedkit. See LICENSE for details. http://zedkit.com.

FAQs

Package last updated on 10 Dec 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.