Update rails to 3.2.12 and update bundled gems