Ruby on Recliners
Pete Lyons announces the first public release of his CouchDb-Ruby library.
This example from the wiki creates and saves a new document:
doc = Couch::Doc.new('my_doc_id')
doc.category = 'Person'
doc.name = 'Pete'
doc.dogs = ['TC', 'Ginger', 'Cori']
db.put(doc)
The rest of the example code is similarly simple and compact. The full introduction here. This is way cool.
Posted September 15, 2006 6:58 PM