class GolosCloud::Comment

Public Class Methods

find_by_author(user) click to toggle source
# File lib/golos_cloud/models/comment.rb, line 17
def self.find_by_author(user)
  self.where(author: user)
end
find_by_parent(user) click to toggle source
# File lib/golos_cloud/models/comment.rb, line 21
def self.find_by_parent(user)
  self.where(parent_author: user)
end