Fix rails4 issue when using protected_attributes gem