
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
== About
Status: http://stillmaintained.com/phoet/rails_redis_cache.png Build: http://travis-ci.org/phoet/rails_redis_cache.png
Cache store implementation for Rails 3.1 using the key value store Redis[http://code.google.com/p/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.
FAQs
Unknown package
We found that rails_redis_cache demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.