Original fork of railties-4.0.3 gem with a minor change