Fixed Rails version dependency