Sha256: 4e47d9e55490b806399b49dc9eba96e3a467602815169e04606f96065eabb407
Contents?: true
Size: 557 Bytes
Versions: 3
Compression:
Stored size: 557 Bytes
Contents
begin require 'wisper/mongoid' rescue LoadError SyncMachine.abort_with_installation_hint('fhwang-wisper-mongoid', 'Mongoid') end module SyncMachine module OrmAdapters # Adapt generic SyncMachine functionality to Mongoid. module MongoidAdapter def self.change_listener_changed_keys(record) record.changes.keys end def self.record_id_for_job(record_id) record_id.to_s end def self.sufficient_changes_to_find_subjects?(_record) true end end end end Wisper::Mongoid.extend_all
Version data entries
3 entries across 3 versions & 1 rubygems