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

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

        else
          delete storedModel.conflict
      else if serverChangedAttr
        storedModel.set(serverChangedAttr, {storeSync:true, silent:true})
        storedModel.trigger('change', storedModel)
      @reportSync(storedModel)

      storedModel.trigger('refresh:done', storedModel)
