Support user of protected_attributes in Rails 4 by checking if the class being fabricated has an attr_accessible method instead of using the gem version to determine whether protected_attributes is in use.