Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 15 lines (12 sloc) 0.823 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# Be sure to restart your server when you modify this file.

CouchbaseBeer::Application.config.session_store :cookie_store, :key => '_couchbase-beer_session'

# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration")
# CouchbaseBeer::Application.config.session_store :active_record_store

# Use the Couchbase for sessions instead of the cookie-based default,
# Don't forget to create the bucket
#
# require 'action_dispatch/middleware/session/couchbase_store'
# CouchbaseBeer::Application.config.session_store(:couchbase_store, :namespace => "session:",
# :couchbase => {:bucket => 'beer-sample', :default_format => :marshal})
Something went wrong with that request. Please try again.