Relaxo Query Server is a query server for CouchDB which provides full support for map/reduce functionality using Ruby code. It's main purpose is to provide a consistent backend for Ruby based clients to CouchDB. In practice, it allows code to be shared between Ruby based client applications and CouchDB servers.
Gemfile gem 'relaxo-query-server', '~> 0.1.3'
install gem install relaxo-query-server