More changes for rails 4.2 upgrade