Apply rails security patch