Syntax parse error or actual syntax error?

I have the following in a script block:
        PS.Gallery_Pages.auto_show_filmstrip = <%= @auto_show_filmstrip  %>;
Which ends up generating correct script on the displayed page, PS.Gallery_Pages.auto_show_filmstrip = true;
However, in the editor I get an, 'expression expected' error on the semi-colon.  Should I log this as a bug or is it in fact a syntax error.

Regards, Guy

2 comments

Hi Guy,

I suppose RubyMine considers this file as a pure Ruby file but it is a Erb template. What is the extension of your file?

0

The file name is show.html.erb.

Thanks, Guy

0

Please sign in to leave a comment.