RubyMine 2016.2 Help

Editing Model Dependency Diagrams

Once a model exists in a RubyMine project, it can be shown in a Model Dependency diagram either by adding, or by dragging. So doing, all relationship links between models are built automatically.

It is also possible to remove from view the models that are irrelevant to the current presentation. So doing, no files are physically deleted.

A new model can be created from a Model Dependency diagram, as described in the section Creating Models.

To add a model to a Model Dependency diagram

  1. Press Space.
  2. Type the name of the desired model in the dialog box that opens.
    rm_add_model
  3. Select model from the suggestion list, and press Enter.

To drag a model to a Model Dependency diagram

  1. Select the desired model in the Rails view.
  2. Drag and drop the selected model to the Model Dependency diagram background.
    rm_drag_model

To remove elements from view

  1. In the diagram, select one or more elements to be deleted.
  2. Press Delete.

See Also

Language and Framework-Specific Guidelines:

Last modified: 30 November 2016