         store.didSaveRecord(record)
     })
 
-  _update_attachmnets: (record, json) ->
+  _updateAttachmnets: (record, json) ->
     if window.AttachmentStore
       _attachments = {}
       record.get('attachments').forEach (item) ->

#= require ember-couchdb-attachment-adapter
#= require ember-couchdb-revs-adapter

DS.CouchDBSerializer = DS.JSONSerializer.extend
  typeAttribute: 'ember_type'
  addEmptyHasMany: false

      json._attachments = _attachments
      delete json.attachments

  _checkRorRevision: (id) ->
    id.split("/").length > 1