Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

jy2k's Profile

GitHub User: jy2k

Comments by


I'm rather new to rails and javascript/coffee
could some1 please explain to me the logic behind this line:

data: $('statistics_chart').data('statistics')

what is the magic so to speak, behind the scenes?