I'm trying to understand what RubyMine is trying to tell me in these two cases:
var lines = <%= raw(@lines.to_json()) %>;
I get an error indicator just before the <% saying "expression expected". Does that mean that RubyMine doesn't handle Ruby insertion inside of the script tag?
Also there is an error on @lines: "Cannot find @lines". How do I get it to find lines? That seems pretty basic.