Module: Horde::Actions::CommentMethods::TargetMethods

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

Overview

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

article.comments           # --> [comment]
article.commenters          # --> [user]

comment.commenter          # --> user
comment.commented_article  # --> article

user.commented_articles     # --> [article]

Defined Under Namespace

Modules: ClassMethods