Massive Upgrade to Rails 3
Jul 18 2011 - By George Webster
To this past weekend I finally go around to upgrading all the sites that I maintain from rails 2.3 to rails 3.0.8.
Now I suppose I could have easily upgraded one at a time a long time ago, however I wan't several things first.
One I wanted most of the gems I used to be compatible with the latest version. I've made the mistake in the past of upgrading too soon, while gaining from great new features I find myself scrambling to change gem implementations or hacking together my own fix (usually at 2 AM). By now it had been many months since rails 3 was released and we're on the eve of another major release 3.1. I wanted to get in before the 3.1 jump because that is a whole other beast. Albeit smaller beast, but still many little changes will need to be done.
Second I wanted enough time to upgrade serveral apps at once. I know there would be a lot of overlap and common problems so in order to avoid remembering how to fix a cryptic error message twice I wanted them all done in one fell swoop.
Third obviously I needed the time comment to do all of this.
I managed to upgrade aftlimo.com, ethyreal.com, awaygoals.com and several internal apps all in a single weekend. Like all rails releases, once I got past their seemingly unending need to change everything I realized I was write less and more intuitive code. Always a good thing.
I hope to do a post soon with individual solutions soon, but give the wealth of information I found in simple google searches I think there really is no need as I didn’t run into any really unique problems.