Temporary patch for Rails 4.2beta1 [FOR DEVELOPMENT ONLY]