Mercurial > hg > soundsoftware-site
view test/exemplars/custom_value_exemplar.rb @ 823:73057b65abcb cannam
Merge
author | Chris Cannam |
---|---|
date | Fri, 16 Dec 2011 15:17:27 +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