Skip to content

ajn/redis-column

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedisColumn

Seamlessly extend your AR model with Redis

The RedisColumn gem allows for the seamless integration of Redis within your ActiveRecord model in order to store heavy objects away from tables with a lot of rows.

Installation

gem install redis-column

Usage

Within an initializer:

RedisColumn.config = YAML.load_file(Rails.root.join('config/redis.yml'))[:development]

Within your model:

class Page < ActiveRecord::Base
  redis_column :body
end

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages