orbit-basic/app/models/layout.rb

8 lines
130 B
Ruby

class Layout < CouchFoo::Base
property :name, String
property :content, String
validates_presence_of :name
end