erb files - rubymine not finding variable names


Here is a picture of my erb file flagging errors that are not errors, along with the routes of my app.

Isn't rubymine supposed to be able to recognize ruby variables in erb files?

What setting do I have to switch to make it recognize that erb is ruby?

P.S. Also, there is still no way to comment out erb code other than manually inserting the '#' inside the erb tags, is there? That would be a nice addition!

1 comment
Comment actions Permalink

I created issue: We are working on it. Vote for the issue so to get notification when it fixed


Please sign in to leave a comment.