I am using JQuery in my rails app. I've taken the approach outlined in Ryan Bates's Railscast on jquery to do the following:
This works great up until I get to wanting to call jQuery.getJSON
Now there are a number of ways I can work around this (using jQuery.ajax, not using ajaxSetup ...)
But I was wondering if there is a convention that folks have adopted in cases like this?