I have one abstract ActiveRecord::Base class that establishes connection to other db, and it does every time it is included, on every environment load. It starts to establish it at script/console for example.
I need to move that establishing only when there is actual request per that model is made.