Upgrading rails to avoid security issue