update rails to 3.2.12, pg to latest