Acts As Commentable with Threading v0.1.2 Release Notes
-
- ➕ Added new documentation in README that should better help users understand this plugin.
- ➕ Added new instance method
root_comments
that will return all comments belonging to a model except child comments. - Added new class method for Comment:
self.build_from(object, user_id, comment_text:string)
. This method cleans up the code inside the controllers. - ➕ Added new class method for Comment:
has_children?
that will return true or false depending on if a comment has children. - Updated deprecated code in instance method
comments_ordered_by_submitted
- changedself.type.name
toself.class.name
.