ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Rails Latest Migration

by alexpls ALL

Opens the latest Rails migration in Sublime Text

Details

  • 2017.05.24.06.55.51
  • github.​com
  • github.​com
  • 3 years ago
  • 2 hours ago
  • 8 years ago

Installs

  • Total 6K
  • Win 807
  • Mac 4K
  • Linux 2K
Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11
Windows 0 0 0 2 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0
Mac 1 0 0 1 2 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 2 1 1 0 0 0 0
Linux 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 2 1 0 0 1

Readme

Source
raw.​githubusercontent.​com

Rails Latest Migration

Opens the latest migration created in a Ruby on Rails app. Works with Sublime Text 3 and Sublime Text 2.

Usage

Easy!

  1. Open any file in your Rails app.
  2. Bring up your command pallette (Cmd + Shift + P / Ctrl + Shift + P) and type in:
latest
  1. In no time the “Rails Latest Migration: Open latest Rails migration” should be highlighted, like so:
  2. Hit enter, and lo and behold; your latest migration!

Atom.io

If you're using atom.io, there's a version of this plugin for you too! Check out https://atom.io/packages/rails-latest-migration.

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.

License

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