Quickly open the latest migration in your Rails app
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
keymaps
lib
menus
spec
.gitignore
LICENSE.md
README.md
package.json

README.md

Rails Latest Migration

Adds a shortcut for quickly opening up the latest migration in your Rails app.

Ported over from my Sublime Text plugin by the same name: Rails Latest Migration - Sublime.

Find Rails Latest Migration on the atom.io package manager here.

Rails latest migration screenshot

Usage

Via Command Pallette

  1. Open up your Rails project (note: for the plugin to work the project must have been opened in Atom at its root).
  2. Bring up the command pallette (CMD+SHIFT+P on Mac, CTRL+SHIFT+P on Windows).
  3. Type in "latest", and select "Rails Latest Migration: Find" from the list.
  4. And there it is, your latest migration!
  5. You can select "Rails Latest Migration: List" to open the list of all migrations.

Via keymap

  1. Open up your Rails project (note: for the plugin to work the project must have been opened in Atom at its root).
  2. Type "CTRL-CMD-L", and there it is, your latest migration!
  3. Type "SHIFT-CMD-M" to see the list of all migrations.

Visual Studio Code

Using VSCode? tmikoss has got you covered, check out the VSCode version of this plugin here: https://github.com/tmikoss/rails-latest-migration.

Sublime Text

If you're using Sublime Text, there's a version of this plugin for you too! Check out https://github.com/alexpls/Rails-Latest-Migration.

Thanks

  • Thanks to @jonathansimmons for suggesting this plugin, and providing me with the Atom beta invite that allowed me to build it!
  • Thanks to @jastkand for contributing the list of all migrations!

License

The MIT License (MIT) - for more info see LICENSE.md