lib/couchrest/model/extended_attachments.rb
def delete_attachment(attachment_name)
        return unless attachments
        if attachments.include?(attachment_name)
          attribute_will_change!("_attachments")
          attachments.delete attachment_name
        end
      end
# deletes a file attachment from the current doc
deletes a file attachment from the current doc
deletes a file attachment from the current doc
def delete_attachment(attachment_name)
        return unless attachments
        if attachments.include?(attachment_name)
          attribute_will_change!("_attachments")
          attachments.delete attachment_name
        end
      end
def delete_attachment ( attachment_name ) return unless attachments if attachments . include? ( attachment_name ) attribute_will_change! ( "_attachments" ) attachments . delete attachment_name end end
deletes a file attachment from the current doc
deletes a file attachment from the current doc
attachment_name