Update Rails gem to 3.2.12 (and json gem to 1.7.7)

This patches CVE-2013-0276, CVE-2013-0277, CVE-2013-0269