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
arunthampi (author)
Mon Jan 21 20:20:11 -0800 2008
commit  8c932dea22371552f3b04f495ece656430f740ec
tree    43f25e4087208e7bffbc53ff82738dd93ae968bb
parent  df0a90bb288a90541651c7e3604a4fcbe334ff96
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)