I’m spinning my wheels a little bit here trying to learn Redis which itself is fairly easy to understand. I don’t know much about how Sessions work with a key-value data store like Redis-store. I’d like to use either Authlogic or Devise. The later seems possible while it’s configurable with Rack::Session, but at this point I’m a little lost.
I’d love to see an example of basic authentication or other.
redis-storeprovides an interface forRack::Sessionto use when creating sessions. If you installredis-storethen this should only require changing your cache store like this:Then your sessions will be stored inside the Redis instance. I am a bit confused on why you are asking about authentication considering that this really has nothing to do with user authentication alone, but involves changing how Rails stores session data which is used by your authentication layer to validate the client once they are logged in.