Update rails to 3.2.16. Refs #1376