Bump to rails 2.3.12 and json 1.7.7