Skip to content

Instantly share code, notes, and snippets.

@sam0x17
Created March 4, 2015 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sam0x17/997afc4877cc36dc1c7e to your computer and use it in GitHub Desktop.
Save sam0x17/997afc4877cc36dc1c7e to your computer and use it in GitHub Desktop.
Rails generate migration timestamp
Time.now.strftime("%Y%m%d%H%M%S")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment