This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/models/snippet.rb

8 lines
131 B
Ruby
Raw Normal View History

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