Sha256: 8187a6dba1cb2a1a23903bb489e3edccc7a495f4569b6664d89bf618f25226cc
Contents?: true
Size: 375 Bytes
Versions: 1
Compression:
Stored size: 375 Bytes
Contents
module ActiveGit class DbUpdate < DbEvent def synchronize(synchronizer) synchronizer.bulk_insert data synchronizer.define_job do ActiveGit.configuration.logger.debug "[ActiveGit] Deleting #{data.class.model_name} #{data.id}" record = data.class.find_by_id(data.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.3 | lib/active_git/events/db_update.rb |