You can quickly access views that belong to a controller by using the tiny "page with arrow" icon in the gutter:
Access a method's view file
Click the icon next to the method definition in the controller.
If a view file does not yet exist, RubyMine will prompt you for its filename.
All views & partials associated to a controller
For a list of all views and partials that belong to the current controller, do this:
- Click the icon in the line where the controller class is defined (usually the first). \
- Then, choose from a list of files. \
From views to controllers
Note that you can also go "up", to the controller, using a similiar icon in the first line of a view.
Posted by Arne Hartherz to makandra dev (2012-08-21 09:04)