Pass db connection to UnidirectionalCopyTrigger
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.
Showing
Please register or sign in to comment