Upgrade Rails for security