Atom Packages Directory

a package directory for a text editor of the 21st Century

Ror Refactor

Install with:
    apm install ror-refactor

Ruby On Rails Refactor package

A set of refactoring tools for Ruby On Rails. It should ease your life.

Build Status

Refactoring tools

This lists the available refactoring tools installed by this package:


You can install it from the console with:

bash $ apm install ror-refactor

Or from Atom itself.


Extract Method

Select a bunch of code then hit CTRL + ALT + CMD + R:


Extract Line

Select a piece of code line then hit CTRL + ALT + CMD + R:


Extract Service

Select a bunch of methods to move in a new class then hit CTRL + ALT + CMD + R:


You can specify the following options:



  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Keywords: refactor, ruby, rails Suggest keywords
Fork me on GitHub