Permalink
Browse files

Merge pull request #130 from aliix/patch-1

Adding examples for rails cache store config with URLs
  • Loading branch information...
2 parents ffcd8e7 + daae884 commit 5d94fc847736a645388d54978a3c4fd8346897fe @mhoran mhoran committed Jun 3, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 redis-rails/README.md
View
@@ -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 5d94fc8

Please sign in to comment.