Acts As Countable plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://actsascountable.googlecode.com/svn/trunk/
1. put acts_as_countable inside model, like acts_as_commentable
2. in view action:
count = Count.new
count.countable_id = @obj.id
@obj.add_count(count)
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 10 months ago

