Upgraded Rails version to fix SQL injection