Module FortiusOne::Acts::Rateable::SingletonMethods
In: lib/acts_as_rateable.rb

Methods

Public Instance methods

Finds objects with the ratings specified. You can either specify a single rating, or an array. Each single rating or element in the array can be a number or a range. To find items with a minimum rating, use -1 as the end of the range. Example: find_all_by_rating(3..-1) # Finds all with a rating of at least 3

Find the first object matching the conditions specified

[Validate]