initialize ActiveRecord connection for specs
implement of association scope