Ruby Activerecord Log Which Query Went To Which Database Stack Overflow

Ruby Activerecord Log Which Query Went To Which Database Stack Overflow