upgrading from rails 3.2