| Module | ActsAsCommentable::Comment |
| In: |
lib/comment_methods.rb
|
including this module into your Comment model will give you finders and named scopes useful for working with Comments. The named scopes are:
in_order: Returns comments in the order they were created (created_at ASC). recent: Returns comments by how recently they were created (created_at DESC). limit(N): Return no more than N comments.