@ukd1 no active record dependency unfortunately, there is this though:

https://github.com/ged/ruby-pg/blob/master/lib/pg/connection.rb#L27