def remove_attribute(name)
      as_writable_attribute!(name) do |access|
        _assigning do
          attribute_will_change!(access)
          delayed_atomic_unsets[atomic_attribute_name(access)] = [] unless new_record?
          attributes.delete(access)
        end
      end
    end
def remove_attribute(name)
      as_writable_attribute!(name) do |access|
        _assigning do
          attribute_will_change!(access)
          delayed_atomic_unsets[atomic_attribute_name(access)] = [] unless new_record?
          attributes.delete(access)
        end
      end
    end
Remove a value from the +Document+ attributes. If the value does not exist
 it will fail gracefully.

 @example Remove the attribute.
   person.remove_attribute(:title)

 @param [ String, Symbol ] name The name of the attribute to remove.

 @raise [ Errors::ReadonlyAttribute ] If the field cannot be removed due
   to being flagged as reaodnly.

 @since 1.0.0