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.


  1. 1 jimsotonna

    jimsotonna…

    jimsotonna dropped by…



Leave a Comment


To insert code, wrap in <code></code> tags.




John Yerhot is Digg proof thanks to caching by WP Super Cache!