Sha256: be0e204b82832b0dda237c190965eabd31dc5fcbad527293475581084a33e5c9
Contents?: true
Size: 330 Bytes
Versions: 1
Compression:
Stored size: 330 Bytes
Contents
module ActiveGit class DbDeleteAll def initialize(model) @model = model end def synchronize(synchronizer) synchronizer.define_job do ActiveGit.configuration.logger.debug "[ActiveGit] Deleting all #{@model.model_name} models" @model.delete_all 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_delete_all.rb |