Patched rails version