Upgrading rails for security issue