Updated Rails to v3.2.12 and JSON to v1.7.7.