Skip to content

alexpls/rails-latest-migration-atom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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