- Create a controller as described in the section Creating Rails Application Elements.
In the Add New Controller dialog box, click the Add button, and specify
the action names as required.
Open the desired controller in the
editor, type the def keyword,
then the action name, and press EnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnter. RubyMine automatically adds
the closing end keyword, and marks the new action with the view
icon in the left gutter.
Using private and public modifiers results in hiding or showing view icons in the gutter, and, respectively disabling or enabling creation of views. In the Project tool window, such methods are marked as and icons respectively.