I have a .html.erb file, with some javascript in it. I would like to do something like this:
var stuff = \'<%= @ruby_var.title %>\'
in your .html.erb file will work fine.