class ThreadableComments::Comment
Public Instance Methods
reply(text, user)
click to toggle source
# File lib/threadable_comments/comment.rb, line 15 def reply(text, user) Comment.create \ commentable: commentable, text: text, user_id: user.id, parent: self end