An automatically syncing ORM that works the same on the client and the server, with libraries for Ruby, Javascript, and Objective C. The adapter for rails and active record provide you with a free JSON API out of the box.
Smooth contains a model / collection library that works on both the server and the client to automatically stay in sync, and eliminate the need to write glue code. A Smooth Data source can be configured from the browser.