Sha256: d3424bd3170ce7e76f3005709cc14eaa72fba7f1cf2d1c8531d97d0957a6b82f

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

module ActiveGit
  class DbUpdate < DbEvent

    def synchronize(synchronizer)
      synchronizer.bulk_insert data

      synchronizer.define_job do
        ActiveGit.configuration.logger.debug "[ActiveGit] Deleting #{model.model_name} #{model_id}"
        record = model.find_by_id(model_id)
        record.delete if record
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_git-0.0.4 lib/active_git/events/db_update.rb