Skip to content

Files

Latest commit

d3f3a09 · Aug 20, 2011

History

History
13 lines (8 loc) · 414 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 414 Bytes

Cubbyhole - The zero config, non-production, datastore

Sinatra is dead simple, but it's more interesting to play with if you can store some data. The problem is that setting up ActiveRecord or DataMapper significantly complicates things.

Cubbyhole is designed to be absolutely zero config.

require 'cubbyhole'

post = Post.create(:title => "Foo", :text => "Bar")

Post.get(post.id).title # => Foo