http://railscasts.com/episodes/324-passing-data-to-javascript?view=asciicast
I solved this by using the gon gem as described in the railscast episode above. See below for a basic idea of what the resulting dataseries is that can be plugged into many of the Rickshaw templates.
data: [
{x: gon.xval [1], y: gon.yval[1] },
{x: gon.xval [2], y: gon.yval[2] }
]