If I have a number of different versions of rails, I can create projects for a particular version with:

~$ rails _3.0.3_ new test_project

This will let me install rails 3.1 to play around with and still use 3.0.7 for things at work.