Change Rails version dependency due to security vulnerability.