Skip to content
Redis stores for ActiveSupport
Branch: master
Clone or download
tubbo Merge pull request #76 from redis-store/add-pry
Update development environment
Latest commit 803f536 Aug 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gemfiles
lib v5.2.0.pre: Mimic RedisCacheStore in the way it handles errors Aug 13, 2018
test Update development environment Aug 1, 2018
.gitignore Replace gemfiles with appraisal Jul 13, 2018
.travis.yml
Appraisals
Gemfile Fix Gemfile Feb 28, 2017
MIT-LICENSE Moved back from jodosha/redis-store Aug 23, 2013
README.md Merge pull request #96 from redis-store/sunset May 30, 2018
Rakefile Moved back from jodosha/redis-store Aug 23, 2013
redis-activesupport.gemspec

README.md

Redis stores for ActiveSupport

redis-activesupport provides a cache for ActiveSupport.

For guidelines on using our underlying cache store, see the main redis-store readme.

For information on how to use this library in a Rails app, see the documentation for redis-rails.

If, for some reason, you're using ActiveSupport::Cache and not in a Rails app, read on to learn how to install/use this gem by itself!

A quick note about Rails 5.2

Rails 5.2.0 includes a Redis cache store out of the box, so you don't really need this anymore if you're generating a new Rails application. We are no longer accepting new features for this gem, only pull requests for security and compatibility fixes will be accepted.

Installation

# Gemfile
gem 'redis-activesupport'

Usage

If you are using redis-store with Rails, consider using the redis-rails gem instead. For standalone usage:

ActiveSupport::Cache.lookup_store :redis_store # { ... optional configuration ... }

Running tests

gem install bundler
git clone git://github.com/redis-store/redis-activesupport.git
cd redis-activesupport
bundle install
bundle exec rake

If you are on Snow Leopard you have to run env ARCHFLAGS="-arch x86_64" bundle exec rake

Status

Gem Version Build Status Code Climate

Copyright

2009 - 2013 Luca Guidi - http://lucaguidi.com, released under the MIT license

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.