Skip to content

Instantly share code, notes, and snippets.

@198d
198d / author.rb
Created December 22, 2010 05:46
Simple Loveseat Example
require 'rubygems'
require 'loveseat'
Loveseat::Model.connection = {
:host => 'localhost',
:port => 5984,
:user => 'admin',
:password => 'admin',
:database => 'authors'
}