View your emails with cucumber

I’ve been developing some new mailers at work, and I’ve found it really helpful to be able to view the emails as they are sent to the users. So I’ve implemented a cucumber step to help me achieve that, inspired on a similar webrat step for web pages.

Read more →


ActiveRecord migrations from the console

If you ever run into the situation where one migration doesn't complete sucessfully, and you're stuck with a column in a table or a new table, so you can't drop the migration or execute the migration again, you can always call the migration methods from the console like this:

Read more →



Git Goodies

A couple days ago I had to gather some information from a git repository, so I'm sharing this small scripts with you.

Read more →