Rails 4.2 upgrade - 3