Module: Horde::Actions::RateMethods::TargetMethods

Extended by:
ActiveSupport::Concern
Defined in:
lib/horde/actions/rate.rb

Overview

methods for something to be rated, like article, photo, etc. if your model is Article. Then you’ll get following methods

article.rates           # --> [rate]
article.raters          # --> [user]

rate.rater          # --> user
rate.rated_article  # --> article

user.rated_articles     # --> [article]

Defined Under Namespace

Modules: ClassMethods