orbit-basic/app/models/layout.rb

9 lines
178 B
Ruby

class Layout < CouchFoo::Base
property :name, String
property :content, String #remove later
property_i18n :content, String
validates_presence_of :name
end