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
arunthampi (author)
Mon Jan 21 18:59:07 -0800 2008
commit  df0a90bb288a90541651c7e3604a4fcbe334ff96
tree    5d264f0be875ddc47c06035fc74900c04f7ef84e
parent  1ebee0afd10cf2eae37999170f29d21aade13b9e
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)