Integrating a Backbone Todo app with a Rails back-end