I\'m wondering what the best practice is for passing variables to JavaScript functions in a rails view. Right now I\'m doing something like:
<% content_f
I found that gem client variable, it helps you to do it easily.