igrigorik/em-synchrony — comment on commit 0887f8ad8da9ca87f7afa436ac4e212e56aec3fe
File: lib/em-synchrony/activerecord.rb line 4
By prepor:

I can suggest something like this:

https://github.com/prepor/em-synchrony/commit/3fe5aa09e4e2fb802e401bbe27b4e9bef8d27269
https://github.com/prepor/em-postgresql-adapter/commit/116ea831388442dab50d62996006b127682f66e3

So, we declare two interfaces for EM::Synchrony DB adapters: EM::Synchrony::Client and EM::Synchrony::Adapter. You should implements they. Basically via including mixins.