Permalink
Browse files

Adding examples for rails cache store config with URLs

  • Loading branch information...
1 parent ffcd8e7 commit daae884d6fd9ceaae8e292382284603c0946f336 @crystalneth crystalneth committed May 4, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 redis-rails/README.md
@@ -29,6 +29,9 @@ Download and install Redis from [http://redis.io](http://redis.io/)
# config/environments/production.rb
config.cache_store = :redis_store # { ... optional configuration ... }
+ # config.cache_store = :redis_store, 'redis://localhost:6379/'
+ # config.cache_store = :redis_store, 'redis://localhost:6379/0' # database 0
+ # config.cache_store = :redis_store, 'redis://localhost:6379/0/cache' # database: 0, namespace: cache
### Session Store:

0 comments on commit daae884

Please sign in to comment.