Upgrade Rails to prevent security vulnerability