You should upgrade the protected_attributes to 1.0.5. I had problems with this version and rails 4.0.1