view test/exemplars/custom_value_exemplar.rb @ 232:e77e267057c8 live

Merge from branch "feature_20" (initial implementation of #20).
author Chris Cannam
date Thu, 17 Feb 2011 19:10:58 +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