Upgrade Rails to latest version and secure the secret token