validates :details, :presence => true, :characters => true
validates :category, :presence => true
def self.categories_for(reportable)
case reportable.class.name
validates :details, :presence => true, :characters => true
validates :category, :presence => true
def self.categories_for(reportable)
case reportable.class.name