view test/exemplars/custom_value_exemplar.rb @ 142:e6ed6c7a2ce9 luisf

corrected bug in the institution field while creating a new user.
author luisf
date Thu, 20 Jan 2011 14:06:23 +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