Rake Leaves

Yeah, I came up with this little Rails rake task called ‘rake leaves’. It will just create a text file that has all your tables, column names, and their data types. I’ve always thought it would be handy to have this so you don’t need to switch to MySQL and spend the time to look it up.

Anyways, if you want to download it go for it. All you need to do is put leaves.rake in /lib/tasks and then from the console

$rake leaves

You’ll get a file called table_structure_whatever_the_date_is.txt.
You can download if right here.

One Response to “Rake Leaves”

  1. jimsotonna says:

    jimsotonna…

    jimsotonna dropped by…

Leave a Reply