status.rb 243 Bytes Edit Raw Blame History Permalink 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, :conditions => { :enabled => true } end