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

Comment actions Permalink

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?

Comment actions Permalink

The file name is show.html.erb.

Thanks, Guy


Please sign in to leave a comment.