Ruby on Rails + Backbone.js Routing

I'm trying to integrate backbone.js as the frontend framework for my rails app. I have a lists model (among others) in rails.

When setting up my backbone frontend, I'm using history pushState as opposed to hashtags. I want backbone/js to handle a lot of the front end (users logged in affects the header, etc.) and have the app have the 'app like feel'.

However, when accessing /lists it forwards to the rails controller, and not backbone. Is there a solution around this so I can use the built in sessions with rails and backbone, when the urls for rails and the front end have the same name?


To anybody looking for an answer: the solution we used was just let Backbone control everything except login/register forms using API calls our iOS app also uses

Need Your Help

Is there a better way to explain the behaviour differences between structs and classes in .net?

c# .net

The code below shows a sample that I've used recently to explain the different behaviour of structs and classes to someone brand new to development. Is there a better way of doing so? (Yes - the code

wordpress with python on proxy server

python wordpress networking proxy

This is a code for posting on a blog. It is my first try. I dont know what is the error in it. I am using proxy server and the error I'm getting is connection to server failed.