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 09:03:34 -0800 2008
commit  1ebee0afd10cf2eae37999170f29d21aade13b9e
tree    7b7739440bac41c423547d037dc51eb054b13ecf
parent  13c88960dbd79700254c5bdffa31bd0c60d62d27
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)