Fixed treatment of protected_attributes gem for Rails 4