Couchbase, dalli gem, rails and sessions
Tue, 10/30/2012 - 13:22
I'm trying to get the dalli gem talking to a couchbase server for session storage. Right now I have in my session_store.rb:
Rails.application.config.session_store :dalli_store, :memcache_server => ['1.1.1.1'], :password => "xxxxx", :namespace => "xxxx", :expire_after => 5.days
There are multiple buckets setup on this couchbase server and I have one assigned to me to use. How do I tell dalli to talk to it? Right now everything is going to the default bucket.
Sat, 11/17/2012 - 08:46
couchbase gem also support rails/rack session store
https://github.com/couchbase/couchbase-ruby-client/blob/master/lib/actio...
Geez, never mind this. I figured it out. The :username for dalli is the bucketname