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

Rails Migration Boy

by haroon26 ST3

Manage Rails migrations with quick commands and CodeLens-like options

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

Rails Migration Boy

A Sublime Text plugin to manage Rails migrations with quick commands and CodeLens-like options.

Features

  • Command Palette: “Migrate All”, “Migrate Up”, “Migrate Down”, “Migrate Redo”, “Open Latest Migration”.
  • Phantom Options: “Up”, “Down”, “Redo” buttons below migration files.
  • Progress Indicator: npm-style spinner in the status bar.
  • Output Panel: Shows command output and errors.
  • Latest Migration: Quick access to the most recent migration file.

Installation

  1. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P).
  2. Type “Package Control: Install Package” and press Enter.
  3. Search for “Rails Migration Boy” and install it.

Usage

  1. Open a Rails project in Sublime Text.
  2. Use the Command Palette (Ctrl+Shift+P or Cmd+Shift+P) to run commands like “Rails Migration Boy: Migrate All”.
  3. In migration files (e.g., db/migrate/20250306123456_create_users.rb), click “Up”, “Down”, or “Redo” buttons.

Requirements

  • Sublime Text 3 or 4 (tested on build 4192, Ubuntu; works with all ST3/ST4 builds)
  • OS: Windows, macOS, Linux
  • Ruby and Rails with rails in your PATH

License

MIT License - see LICENSE.

Contributing

See CONTRIBUTING.md for guidelines.

Author

Acknowledgments

  • Inspired by the VS Code rails-migration-boy extension.