Fix sucurity bug rails 4.0.5