Update fix for Rails 4.2.0.rc1