Rails version correction