This feature is supported only when Ruby plugin is installed.
Project Tool Window | View as | Rails
The special Rails view shows logical project structure displaying Controllers, Models, Views,
DB migrations, etc as Rails elements rather than files and directories. From the Rails view, you can
gain quick access to the application elements and their contents (controller methods, associated and
partial views, etc.)