• pbair's avatar
    Pass db connection to UnidirectionalCopyTrigger · 09608ca7
    pbair authored
    Change the `UnidirectionalCopyTrigger` class to require an external
    connection be passed to it. This makes the class safe for use with
    multiple databases by not relying on ActiveRecord::Base directly.
    09608ca7
unidirectional_copy_trigger.rb 2.99 KB