Followable adds following feature to any ActiveRecord object using Redis.
Inspired by http://jimneath.org/2011/03/24/using-redis-with-ruby-on-rails.html.
Add this line to your application's Gemfile:
gem 'followable'
And then execute:
$ bundle
Or install it yourself as:
$ gem install followable
class User < ActiveRecord::Base include Followable end
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request