Updated rails gem for security