Amended rails version dependency