Rails upgrade fixes for 3.2.18