how to use ajax with json in ruby on rails?

CouchDB and Rails: noSQL (no schema) vs Rails (schema based), how does one used CouchDB with Rails?

  • I would like to use CouchDB for my database, but have come to appreciate the advantages of developing web-based applications using Ruby (Rails). Rails seems to be architected around 'schema', while couchDB is not about schema, but about JSON records(documents). How do I consolidate the two worlds, and what's the equivalent to ActiveRecord that can be used wtih Rails to interface with CouchDB?

  • Answer:

    Looks like this guy created an ORM (or just OM I sippose). https://github.com/georgepalmer/couch_foo

Joe Letizia at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.