       include_docs: true
       keys: ids
 
-    this.ajax('_all_docs', 'POST', {
+    this.ajax('_all_docs?include_docs=true', 'POST', {
       data: data
       context: this
       success: (data) ->

    hash._id || hash.id

  stringForType: (type) ->
    type.toString()

  getRecordRevision: (record) ->
    record.get('_data.attributes._rev')

  serializer: DS.CouchDBSerializer

  _ajax: (url, type, hash) ->
    if url.split("/").pop() == "" then url = url.substr(0, url.length - 1)
    hash.url = url
    hash.type = type
    hash.dataType = 'json'
