view test/exemplars/custom_field_exemplar.rb @ 1061:01076ed49ffc luisf

Merge from live site's latest changes.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 19 Nov 2012 19:50:04 +0000
parents cbb26bc654de
children
line wrap: on
line source
class CustomField < ActiveRecord::Base
  generator_for :name, :start => 'CustomField0'
  generator_for :field_format => 'string'

end