Skip to content

Instantly share code, notes, and snippets.

@yyalim
Created October 21, 2015 13:35
Show Gist options
  • Save yyalim/b7fb2a17e89ebb68f55f to your computer and use it in GitHub Desktop.
Save yyalim/b7fb2a17e89ebb68f55f to your computer and use it in GitHub Desktop.
Open last generated rails migration on your code editor.
# You can your favorite code editor.
# I love sublime :)
subl `ls db/migrate/*.rb | tail -n 1`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment