I don't understand why this jQuery.AJAX-request to a .csv-file fails to display a Highchart chart in Rails:
var jQuery = $.get('foo.csv', function(data) {}
whereas this one displays just fine:
var jqxhr = $.get('foo.csv', function(data) {}
Can anybody please explain?