Class: Coletivo::Models::PersonRating
- Inherits:
-
Object
- Object
- Coletivo::Models::PersonRating
- Includes:
- Mongoid::Document, Mongoid::Timestamps
- Defined in:
- lib/coletivo/models/person_rating.rb
Class Method Summary collapse
Class Method Details
.find_for_recommendation(person, rateable_type) ⇒ Object
22 23 24 |
# File 'lib/coletivo/models/person_rating.rb', line 22 def self.find_for_recommendation(person, rateable_type) where(:rateable_type => rateable_type.to_s) end |