Skip to content

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

17 lines (12 sloc) 0.823 kb
# 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})
Jump to Line
Something went wrong with that request. Please try again.