Upgrade rails gem for security