Skip to content

Latest commit

 

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