Skip to content

Instantly share code, notes, and snippets.

@pbrit
Created August 23, 2012 06:29
Show Gist options
  • Save pbrit/3433391 to your computer and use it in GitHub Desktop.
Save pbrit/3433391 to your computer and use it in GitHub Desktop.
Show last migration file
ls db/migrate | grep `rake db:version | egrep -o '\w+$'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment