view test/exemplars/custom_value_exemplar.rb @ 789:863f447c4d88 cannam

Layout changes: move h2 into fieldset top line, etc
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 18 Nov 2011 17:11:15 +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