No commit activity in last 3 years
No release in over 3 years
Rails 3.1 cache store implementation using Redis. See http://github.com/phoet/rails_redis_cache for more information.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.0.6
~> 0.9
~> 2.7

Runtime

~> 0.6
~> 2.0
 Project Readme

About¶ ↑

Status: Build:

Cache store implementation for Rails 3.1 using the key value store Redis.

If you are looking for Rails 3 implementation please have a look at latest stable release version 0.0.4.

Usage¶ ↑

In the environment.rb or environments-files write:

ActionController::Base.cache_store = ActiveSupport::Cache::RailsRedisCacheStore.new(:url => ENV['RAILS_REDIS_CACHE_URL'])

... or ...

config.cache_store = ActiveSupport::Cache::RailsRedisCacheStore.new(:url => ENV['RAILS_REDIS_CACHE_URL'])

Using the cache is simple:

@tweets = cache("tweets", :expires_in => 30.seconds){ Twitter::Search.new(...) }

Installing Redis with homebrew¶ ↑

Using a local Redis server for testing is simple:

brew install redis
redis-server

Changelog¶ ↑

See CHANGELOG file for further information.

License¶ ↑

See LICENSE file for further information.