           req = request.patch(url).send(options.attrs or model.toJSON(options)).type('json')
         when 'delete'
           req = request.del(url)
-        when 'read'
-          req = request.get(url).query({$one: !model.models}).type('json')
 
       req.end (err, res) ->
         return options.error(model, err) if err

util = require 'util'
_ = require 'underscore'

AjaxCursor = require './lib/ajax_cursor'
Schema = require 'backbone-orm/lib/schema'

        return callback(new Error "Ajax failed with status #{res.status} for #{'destroy'} with: #{util.inspect(res.body)}") unless res.ok
        callback()

module.exports = (type) ->
  if (new type()) instanceof Backbone.Collection # collection
    model_type = Utils.configureCollectionModelType(type, module.exports)
    return type::sync = model_type::sync

  sync = new AjaxSync(type)
  type::sync = sync_fn = (method, model, options={}) -> # save for access by model extensions
    sync.initialize()

    return module.exports.apply(null, Array::slice.call(arguments, 1)) if method is 'createSync' # create a new sync
