upgrading activerecord and json