Thursday, September 17, 2009

Using ruby on rails routes in javascript (jquery)

I am working on a shiny new ajax app using rails and like many before me, I felt the need to use the rails route generation facility in javascript. I found this plugin on the web and it had some ajax abilities but it used prototype instead of jquery so I forked it and added jquery support - go get it here to get all the jquery ajax goodness in your routes. In a later post I will blog about how to create a sample app using it.