app/models/comment.rb
Class Comment
has 22 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Comment < ApplicationRecord
include Flaggable
include HasPublicAuthor
include Graphqlable
include Notifiable
Method build
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def self.build(commentable, user, body, p_id = nil, valuation = false)