Update to the latest version of rails on the 3.1 branch to patch some recent security holes.