Sha256: 4a83080d0e5e34d7bd792145f69274cbf8fe5e106fc9d95105d2fdaed51e74f3
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
module SyncMachine module ActiveRecord # Adapt generic SyncMachine functionality to ActiveRecord. module Adapter def self.change_listener_changed_keys(record) record.previous_changes.keys end def self.record_id_for_job(record_id) record_id end def self.sufficient_changes_to_find_subjects?(record) change_listener_changed_keys(record).present? end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sync_machine_active_record-0.6.0 | lib/sync_machine/active_record/adapter.rb |