Mercurial > hg > soundsoftware-site
view test/exemplars/custom_value_exemplar.rb @ 888:96376d0a80bd feature_80
Close obsolete branch feature_80
author | Chris Cannam |
---|---|
date | Sat, 05 Mar 2011 16:02: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