view test/exemplars/custom_value_exemplar.rb @ 122:7c628fc7e91d cannam

Make project descriptions briefer on the projects list, and ensure that images &c are removed from them
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Mon, 17 Jan 2011 14:47:09 +0000
parents 513646585e45
children
line wrap: on
line source
class CustomValue < ActiveRecord::Base
  generator_for :custom_field, :method => :generate_custom_field

  def self.generate_custom_field
    CustomField.generate!
  end
end