ref: master
plugins/comment_classification/lib/comment_classification_plugin/comment_status_user.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 |
class CommentClassificationPlugin::CommentStatusUser < ApplicationRecord self.table_name = :comment_classification_plugin_comment_status_user belongs_to :profile belongs_to :comment belongs_to :status, :class_name => 'CommentClassificationPlugin::Status' attr_accessible :name, :enabled, :profile, :comment, :status_id, :reason validates_presence_of :profile validates_presence_of :comment validates_presence_of :status end |