Rails 3 API for a backbonejs front end.