public
Description: Acts_as_rateable is a Ruby on Rails plugin which makes ActiveRecord models rateable through a polymorphic association and optionally logs which user rated which object. This plugin is used in production.
Homepage: http://xpnindustries.com
Clone URL: git://github.com/azabaj/acts_as_rateable.git
acts_as_rateable / init.rb
100644 3 lines (2 sloc) 0.121 kb
1
2
3
require File.dirname(__FILE__) + '/lib/acts_as_rateable'
ActiveRecord::Base.send(:include, ActiveRecord::Acts::Rateable)