Updated rails gem to latest 3-0-stable and json gem to 1.7.7 to patch CVE-2013-0276, CVE-2013-0277 and CVE-2013-0269.