Hopefully fix all the rails 4 upgrade issues.