public
Fork of mbleigh/acts-as-readable
Description: A simple plugin that allows a user to mark anything as 'read.' Common usage would include forum posts, news items, etc.
Homepage: http://www.mbleigh.com/plugins/announcing-acts_as_readable
Clone URL: git://github.com/ayn/acts-as-readable.git
acts-as-readable / init.rb
100644 6 lines (4 sloc) 0.138 kb
1
2
3
4
5
6
require 'acts_as_readable'
require 'reading'
require 'user_with_readings'
 
ActiveRecord::Base.send :include, ActiveRecord::Acts::Readable