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

Comments

That looks very interesting. But from a practical point of view, a "killer app" would be to make CouchDb an ActiveRecord storage provider, allowing it to be used as the database for Ruby on Rails apps... unless Pete beats me to it, I might tackle that (based on his library, of course) once I get some free time.

Arto Bendiken, September 16, 2006 2:25 PM

Post a comment




Remember Me?

(you may use HTML tags for style)