Orbit/app/models/layout.rb

8 lines
135 B
Ruby
Raw Normal View History

2009-05-07 17:54:33 +00:00
class Layout < CouchFoo::Base
property :name, String
2009-06-26 13:16:37 +00:00
property_i18n :content, String
2009-05-07 17:54:33 +00:00
validates_presence_of :name
end