GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of chuyeow/activecouch
Description: ActiveCouch is a simple, convenient, Ruby-idiomatic wrapper for CouchDB
Homepage: http://github.com/arunthampi/activecouch
Clone URL: git://github.com/arunthampi/activecouch.git
commit  af92343cdf64ca1419862a5d9b806a280dcc28d5
tree    e477c99b5cc00c1d372e96eda784fc51d2abc8fa
parent  e5c097b1bb95646d63fcd06b41389bc878a9ac47
README
ActiveCouch aims to be an easy-to-use, familiar ORM library for the hot new kid on the block, CouchDB.

* Preliminarily,
- it will support ActiveRecord-esque functions such as find, create, save, etc.
- location of the CouchDB will be specified through a very simple class method called 'site' similar to ActiveResource.
- callbacks and observers (for example when to call upon saving of a new document)
- migrations to add views to a CouchDB server

* Nodes supported:
- String, Integer, Float (E.g. has :name)
- array (E.g. has_many :airports)

Pre-requisites
--------------
- Ruby 1.8.5 (http://www.ruby-lang.org)
- Uses JSON gem (http://json.rubyforge.org), To install use gem install json)

To run specs (and thus look at code samples)
--------------------------------------------
- Install rspec gem (http://rspec.rubyforge.org, to install use gem install rspec)