update to rails 3.2.12 and json 1.7.7