view test/exemplars/custom_value_exemplar.rb @ 401:a0f6e994657f feature_113

Fix index file name; minor text changes; hack in link to repo (currently hard-coded with project name!)
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Mon, 11 Apr 2011 20:08:05 +0100
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