Mostrar / Ocultar Avisos

Archive for ‘Ruby on Rails’

Rails Rake Task for Resetting Your Database

The code below was given to me by Jonathan Viney when we worked on a Rails project together last summer and I’ve found it very useful. It is a rake task that will drop your developement dB and restore it based on your migrations and test fixtures. And as a good Rails developer I’m assuming you are using both.

Ugh.  I really need to find the bug killing my formatting in the SyntaxHighlighter.