# File lib/couchrest/model/property_protection.rb, line 60
      def remove_protected_attributes(attributes)
        protected_names = protected_properties.map { |prop| prop.name }
        return attributes if protected_names.empty? or attributes.nil?

        attributes.reject do |property_name, property_value|
          protected_names.include?(property_name.to_s)
        end
      end