No commit activity in last 3 years
No release in over 3 years
Provides a rack session middleware to store sessions in a RethinkDB table.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

rack-session-rethinkdb

Store rack sessions in a RethinkDB table.

Installation

gem install rack-session-rethinkdb

The database and table to be used for storage must be created prior to use. The database name must be provided, the table name will default to sessions unless an alternate is specified.

Usage

Sessions will be stored in the table sessions by default. The hostname/IP and database name must be specified and must exist.

require 'rack/session/rethinkdb'

use Rack::Session::RethinkDB, {
  host:  '127.0.0.1',  # required
  db:    'myapp',      # required
  port:  28015,        # optional (default: 28015)
  table: 'sessions'    # optional (default: 'sessions')
}