view test/exemplars/custom_value_exemplar.rb @ 73:a7fa8dd0446f luisf

Added a description string to the user's description field, to make it more "informative".
author luisf
date Wed, 08 Dec 2010 17:03:29 +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