view test/exemplars/custom_value_exemplar.rb @ 428:9cfd7a1d848e feature_36

Created the Edit View (still not changing the DB) Small changes to Publications model.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 01 Jun 2011 17:27:52 +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