orbit-basic/app/models/layout.rb

9 lines
178 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 :content, String #remove later
property_i18n :content, String
2009-05-07 17:54:33 +00:00
validates_presence_of :name
end