Update rails to 3.2.18. Refs #1538