patching rails problems early