RubyMine 7.0.1 Web Help

In the editor, use the following gutter icons to jump between controllers, views, and actions:

  • ruby_gotoControllerIcon.png: This layout is associated with a controller.
  • ruby_gotoActionIcon.png: This layout is associated with an action.
  • ruby_gotoViewIcon.png: This action is associated with a view, or this controller is associated with a partial view.

The target component is opened in the editor tab.

To navigate between rails components in the editor
  • Open a component in the editor, and click the desired gutter icon. For example, if you want to jump to a view file associated with an action, open the corresponding controller, locate the desired action, and click the gutter icon next to the action definition.

    ruby_navigateToView.png

    If several different types of views are available (for example, localized views or HAML files), RubyMine suggests the list of all available views, from which you can select the one you need:

    ruby_navigateToViewLocalized.png

    To navigate from a view to the corresponding action, open the view file in the editor, and click the gutter icon:

    ruby_navigateToAction.png

See Also

Concepts:

Web Resources: