Migration: Adding/Removing columns are now much easier

Published on

You may have noticed by now, that in Rails 2.0 changeset 7422, you can specify columns you want to add/remove in your migration by passing attribute:type pairs to the migration generator. For example, lets assume that we need to add a column ‘role’ in users table(User model). In this case generate a migration like: Output: … Continue reading Migration: Adding/Removing columns are now much easier

Ruby Script for SVN commit notification with log message, list of updated files and readable colored SVN Diff

Published on

Some days ago I wrote a post about “SVN commit notification” which uses a perl script for sending commit notification with svn diff by mail. In this mail you can find svn diff from the last committed revision. I used to love this mail, soon I realized that it is a bit ugly and difficult … Continue reading Ruby Script for SVN commit notification with log message, list of updated files and readable colored SVN Diff