method
connected?

connected?(spec_name, role: ActiveRecord::Base.current_role, shard: ActiveRecord::Base.current_shard)
public
Returns true if a connection that’s accessible to this class has already been opened.
connected?(spec_name, role: ActiveRecord::Base.current_role, shard: ActiveRecord::Base.current_shard)
public
Returns true if a connection that’s accessible to this class has already been opened.