Module: Talkie::ActsAsCommentable::InstanceMethods
- Defined in:
- lib/talkie/acts_as_commentable.rb
Instance Method Summary collapse
Instance Method Details
#root_parents ⇒ Object
8 9 10 |
# File 'lib/talkie/acts_as_commentable.rb', line 8 def root_parents comments.where(parent_id: nil) end |