Orbit/app/models/snippet.rb

8 lines
137 B
Ruby
Raw Normal View History

class Snippet < CouchFoo::Base
property :name, String
2009-06-26 13:16:37 +00:00
property_i18n :content, String
validates_presence_of :name
end