Skip to content

Instantly share code, notes, and snippets.

@wolfhesse
Created January 15, 2009 22:11
Show Gist options
  • Save wolfhesse/47662 to your computer and use it in GitHub Desktop.
Save wolfhesse/47662 to your computer and use it in GitHub Desktop.
rel:lang:rb
class ControlStrip < ActiveRecord::Base
if respond_to? :fields
fields do
title :string, :limit => 120
text :text
sequence :integer
priority :integer, :default => 5
when_due :datetime
ts_update :datetime
person :string, :limit => 120, :default => "anonymous"
history :text
timestamps
end
end
acts_as_ferret
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment