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.

  1. Standard helpers: link_to, stylesheet_link_tag, all named routes in various partials.
  2. 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!

    3 comments
    Comment actions Permalink

    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

    0
    Comment actions Permalink

    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

    0
    Comment actions Permalink

    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

    0

    Please sign in to leave a comment.