After more than two days of removing deprecation warnings, adding plugins, fixing some custom additions, going through the whole application, it’s finally done. We’re running Rails 2.0. Nothing more gratifying than seeing this, well except for the application running without problems:
It’s a classic. You want to return random rows from a table, say a collection of random users in your social network. Easy, MySQL’s
ORDER BY RAND() to the rescue. After all, everybody’s doing it. At least on my last search on that topic, all the PHP kids did it.
As if there weren’t enough reasons to love it, I came across a nice little article by Ryan Tomayko called “The Thing About Git”. He describes how to do partial commits of only some selected changes in specific files instead of having to commit the whole file.
git add --patch to the rescue. Neat stuff. I still like
git stash, but being able to commit specific changes while leaving others untouched in the local repository can come in handy from time to time.
This is the bundle that’ll make TextMate almost as good as warm apple pie. RubyAMP comes along with a few additions to Ruby coding in TextMate, but boy do they rock.