public
Description: Ruby interface to CouchDB
Homepage: http://code.google.com/p/activecouch/
Clone URL: git://github.com/JackDanger/active_couch.git
Search Repo:
arun.thampi (author)
Tue Jan 22 07:38:32 -0800 2008
commit  58c59a794d921f92f561305ae66db3d3904d75b6
tree    e477c99b5cc00c1d372e96eda784fc51d2abc8fa
parent  6e9ccb257445cb4b0a5bb36e71724f6f4fcd39db
name age message
folder MIT-LICENSE Tue Dec 04 00:56:05 -0800 2007 Added to_json and from_json support to the Acti... [arun.thampi]
folder README Sun Dec 16 10:44:04 -0800 2007 Cleaned up the README for project [arun.thampi]
folder active_couch.rb Tue Jan 22 03:04:24 -0800 2008 - Working commit for callbacks [arun.thampi]
folder active_couch/ Tue Jan 22 07:38:32 -0800 2008 - Fixed bug in ticket 27 (http://code.google.co... [arun.thampi]
folder spec/ Tue Jan 22 07:38:32 -0800 2008 - Fixed bug in ticket 27 (http://code.google.co... [arun.thampi]
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)