status.rb 234 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 class CommentClassificationPlugin::Status < Noosfero::Plugin::ActiveRecord belongs_to :owner, :polymorphic => true attr_accessible :name, :enabled validates_presence_of :name scope :enabled, -> { where enabled: true } end