Fix the rails vulnerability