update rails to 3.2.11
improved api responses