Railways

Compatible with RubyMine
Jan 29, 2019
28 358
Railways is a plugin for RubyMine that makes navigation between route actions much quicker.
Features:
  • Displays routes of Ruby On Rails application/engine in a separate "Routes" panel
  • Adds quick navigation to action implementation from "Routes" panel or "Go to route action" popup available in code editor (invoked by **Ctrl + Shift + G**)
  • Provides quick routes filtering by route path, controller/action or route name
If you want to use Railways in IntelliJ IDEA, please use 'Railways for IDEA' plugin version.
Please feel free to report a bug or a suggestion on GitHub plugin page or via e-mail provided on the plugin page.

Download plugin

Recent change notes

0.8.14

  • Add support of IDE version 2019.1

0.8.13

  • Enhance route parsing: allow route path starting with '('

0.8.12

  • Add support of IDE version 2018.3.1 (version 2018.3 is not supported due to issue in RubyMine)
  • Update rake routes parser to avoid capturing warnings in output

0.8.11

  • Add support of IDE version 2018.2

0.8.10

  • Add support of IDE version 2018.1

0.8.9

  • Add ability to filter routes using wildcard (*)

0.8.8

  • Add support of IDE version 2017.3 (@hurricup)

0.8.7

  • Fix plugin crash in RubyMine 2017.1

0.8.6

  • Add plugin compatibility with RubyMine 2016.2 and (liekly) with following releases of Ruby plugin for IDEA

0.8.5

  • Fix compatibility with previous version of IDEA and RubyMine

0.8.4

  • Add ability to copy route path with http method
  • Add ability to copy data from multiple selected rows
  • Make right-click behavior more intuitive for the routes table

0.8.3

  • Optimize performance of route action availability check.
  • Add option to disable live check of route action implementation.
  • Fix NPE when non-rails project is opened.

0.8.2

  • New feature - autorefresh route list when routes.rb is changed (enable it in the plugin settings)
  • Add toggle button to hide routes from mounted engines.
  • Minor UI fixes.

0.8.1

  • Highlight route action in list depending on its availability.
  • Add setting to specify Rails environment for which routes are collected.
  • Parse redirect routes.
  • Fix parsing - routes with unknown action format weren't added to list.

Full list of changes can be found here.

General usage instructions

Click Refresh button to update routes list.
Double click any route to open its action in the code editor.