Todo app with Rails API and Backbone