view test/exemplars/custom_value_exemplar.rb @ 644:999a6b3c4cd1 feature_36

Remove well-meaning but ultimately unwise <nobr> elements (fixing #286)
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 09 Sep 2011 11:13:14 +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