RubyMine helps easily navigate between the Rails components: controllers, views, models, helpers and
tests, using the Navigate | Related File command, which is available from the editor, tool
windows, and the Model Dependency diagram:
To navigate between the Rails components
Do one of the following:
On the main Navigate menu, choose Related File
Press Ctrl+Alt+HomeCtrl+Alt+Home
Select the desired target from the pop-up menu, or press a mnemonic key, specified to the left of the Rails component name.