view test/exemplars/custom_value_exemplar.rb @ 1189:3e874cee63af cannam

Layout adjustments to explore boxes
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 22 Jan 2013 15:45:11 +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