view test/exemplars/custom_value_exemplar.rb @ 225:6056b3c5f8f2 feature_72

URL field no longer mandatory; Delete repo button removed
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 15 Feb 2011 17:23:37 +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