orbit-basic/app/models/layout.rb

8 lines
130 B
Ruby
Raw Normal View History

2009-05-07 17:54:33 +00:00
class Layout < CouchFoo::Base
property :name, String
property :content, String
validates_presence_of :name
end