Remove protected_attributes/rails 4 dependency