   extract: (loader, json, type) ->
     this.extractRecordRepresentation(loader, type, json)
 
-  extract_attachments: (attachments, type, hash) ->
+  extractAttachments: (attachments, type, hash) ->
     _attachments = []
     for k, v of attachments
       key = "#{hash._id}/#{k}"

      json._attachments = _attachments
      delete json.attachments

  _check_for_revision: (id) ->
    id.split("/").length > 1
        this.didFindRecord(store, type, data, id)
    })

  findManyWithRev:(store, type, ids) ->
    ids.forEach (id) =>
      @findWithRev(store, type, id)

  findMany: (store, type, ids) ->
    if @_checkRorRevision(ids[0])
      @findManyWithRev(store, type, ids)
    else
      data =
        include_docs: true
