This check doesn't actually work, because `record.class` will respond to `attr_accessible` and `attr_protected` even without `rails/protected_attributes`, in order to [raise deprecation exceptions](https://github.com/rails/rails/blob/4-0-stable/activemodel/lib/active_model/deprecated_mass_assignment_security.rb).