Module | Juixe::Acts::Voteable::SingletonMethods |
In: |
lib/acts_as_voteable.rb
|
This module contains class methods
Options:
:start_at - Restrict the votes to those created after a certain time :end_at - Restrict the votes to those created before a certain time :conditions - A piece of SQL conditions to add to the query :limit - The maximum number of voteables to return :order - A piece of SQL to order by. Eg 'votes.count desc' or 'voteable.created_at desc' :at_least - Item must have at least X votes :at_most - Item may not have more than X votes