make gem use connection object from model being called (works with multiple connections)