erb files - rubymine not finding variable names

Hello

https://dl.dropboxusercontent.com/spa/lkj2dewi3ofvkgc/qjoik1d5.jpg

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: https://youtrack.jetbrains.com/issue/RUBY-15983. We are working on it. Vote for the issue so to get notification when it fixed

0

Please sign in to leave a comment.