Unresolved symbols, oh no, not again!
I see following unresolved. Is there a setting to make RM resolve these symbols. Note: It's a Rails 3 project.
- Standard helpers: link_to, stylesheet_link_tag, all named routes in various partials.
- I have a partial with a <div> tag with an embedded <nav> tag. This partial is part of the application.html.erb which has the declaration <!DOCTYPE html> in it. Yet <nav> is not resolved/understood by RM.
Any setting I have missed?
Thanks!
请先登录再写评论。
Hello Kedar,
Please ensure you have Rails gems attached to the project.
Also your problem may be related with these ones: http://youtrack.jetbrains.net/issue/RUBY-7699 and http://youtrack.jetbrains.net/issue/RUBY-7684
Regards,
Oleg
Looks like this is another of those 3.1 regressions, because other than the named routes (http://devnet.jetbrains.net/thread/293847?tstart=0) all other symbols (e.g. link_to) are resolved by 3.0.
Should I just switch back to 3.0.1? Looking at this and other problems, it seems that 3.0.1 is better than 3.1. No?
-Kedar
No, it is not recommended to use RubyMine 3.0.1 instead RubyMine 3.1, we are going to publish bugfix update for 3.1 soon, which will fix this problem.
Regards,
Oleg