Create An Bash Function To Open Latest Active Record Migration

Posted By Weston Ganger

If your like me, with Rails you've been choked trying to type in the path to the latest migration file with those damn timestamps.

Well I have a solution for you using Bash Functions.

Add this function to your .bashrc. Just replace vim with your favourite editor.

$ last_migration

Related External Links:

Article Topic:Software Development - Linux

Date:January 25, 2016