# ADO.rb

**URL:** <https://www.ruby-forum.com/t/ado-rb/159360>\
**Category:** Ruby\
**Created:** [February 3, 2009, 9:15pm UTC](https://www.ruby-forum.com/t/ado-rb/159360 "2009-02-03T21:15:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricercar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f04885/32.png) [@ricercar](https://www.ruby-forum.com/u/ricercar)\
**Post date:** [February 3, 2009, 9:15pm UTC](https://www.ruby-forum.com/t/ado-rb/159360/1 "2009-02-03T21:15:32Z")

</div>

Hi, I’m trying to connect to an existing MS SQL database using Ruby. All  
websites point me to using ‘DBI’ but there is a glitch mentioned about  
ADO.rb that has to be separately downloaded. Everyone points me to  
[http://rubyforge.org/frs/?group\_id=234&release\_id=20222](http://rubyforge.org/frs/?group_id=234&release_id=20222) but I can’t find  
any zip file here that has ADO.rb. Where is it?

Thank you.

---

<div class="post-metadata">

**Author:** ![ricercar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f04885/32.png) [@ricercar](https://www.ruby-forum.com/u/ricercar)\
**Post date:** [February 3, 2009, 10:47pm UTC](https://www.ruby-forum.com/t/ado-rb/159360/2 "2009-02-03T22:47:41Z")

</div>

Get a DBI 2.2 distro from there and it’s included:

[16:44]jon:~/Downloads/dbi-0.2.2$ find . -name ADO.rb  
./lib/dbd/ADO.rb

---

<div class="post-metadata">

**Author:** ![ricercar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f04885/32.png) [@ricercar](https://www.ruby-forum.com/u/ricercar)\
**Post date:** [February 3, 2009, 10:57pm UTC](https://www.ruby-forum.com/t/ado-rb/159360/3 "2009-02-03T22:57:26Z")

</div>

Jonathon B. wrote:

> Get a DBI 2.2 distro from there and it’s included:
> 
> [16:44]jon:~/Downloads/dbi-0.2.2$ find . -name ADO.rb  
> ./lib/dbd/ADO.rb

Thanks so much - I thought I was going nuts there for a moment. The  
guides on this weren’t very clear. I wonder why the latest version of  
DBI doesn’t include this file…

---

<div class="post-metadata">

**Author:** ![ricercar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f04885/32.png) [@ricercar](https://www.ruby-forum.com/u/ricercar)\
**Post date:** [February 16, 2009, 10:35am UTC](https://www.ruby-forum.com/t/ado-rb/159360/4 "2009-02-16T10:35:34Z")

</div>

On Tue, Feb 3, 2009 at 11:57 PM, Jordan Schroeder  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> Jonathon B. wrote:
> 
> > Get a DBI 2.2 distro from there and it’s included:
> > 
> > [16:44]jon:~/Downloads/dbi-0.2.2$ find . -name ADO.rb  
> > ./lib/dbd/ADO.rb
> 
> Thanks so much - I thought I was going nuts there for a moment. The  
> guides on this weren’t very clear. I wonder why the latest version of  
> DBI doesn’t include this file…

Does anyone know if ADO is being phased out or something? It took me  
ages to  
figure  
out how to connect to SQL server with ActiveRecord. Is the old ADO fully  
compatible  
with the new DBI?
