 ###
 *  Copyright (C) 2013 - Raphael Derosso Pereira <raphaelpereira@gmail.com>
 *
-*  Backbone.RailsStore - version 1.0.4
+*  Backbone.RailsStore - version 1.0.5
 *
 *  Backbone extensions to provide complete Rails interaction on CoffeeScript/Javascript,
 *  keeping single reference models in memory, reporting refresh conflicts and consistently

          @_storeServer.unset('errors')
          _.each triggerModels, (changedModel) =>
            changedModel.trigger 'commit:done', changedModel
          @trigger('commit:done', @) if not errors
          @trigger('commit:failed', {model: model, errors: errors}) if errors
          # TODO: handle rollback
        catch e
          console.log(e)

          hasConflict = true
          storedModel.trigger("refresh:conflict:#{key}", storedModel)
        )
        storedModel.set(noConflictAttr,{storeSync:true, silent:true})
        storedModel.trigger('change', storedModel)
        @reportSync(storedModel)
        storedModel.syncAttributes = _.extend(syncAttr, noConflictAttr)
        if hasConflict
