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 →


Will Paginate And Ajax

I recently had to implement some ajax pagination for a site. After googling for a while I found a solution, but I couldn't customize the pagination url's or I had to specify the paginator to use (will paginate's default or mine for ajax), so I came up with this solution which fulfils all my needs.

Read more →