Apply Rails security patch