# XML Driver for ActiveRecord?

**URL:** <https://www.ruby-forum.com/t/xml-driver-for-activerecord/194917>\
**Category:** Ruby\
**Created:** [September 13, 2010, 6:34pm UTC](https://www.ruby-forum.com/t/xml-driver-for-activerecord/194917 "2010-09-13T18:34:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mydarkpassenger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/82dd89/32.png) [@mydarkpassenger](https://www.ruby-forum.com/u/mydarkpassenger)\
**Post date:** [September 13, 2010, 6:34pm UTC](https://www.ruby-forum.com/t/xml-driver-for-activerecord/194917/1 "2010-09-13T18:34:46Z")

</div>

Anyone know if there is any xml driver built in to the Ruby library that  
can be used with ActiveRecord? I do not want to have to install anything  
other than Ruby, but, I want to use ActiveRecord.

---

<div class="post-metadata">

**Author:** ![mydarkpassenger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/82dd89/32.png) [@mydarkpassenger](https://www.ruby-forum.com/u/mydarkpassenger)\
**Post date:** [September 14, 2010, 12:10am UTC](https://www.ruby-forum.com/t/xml-driver-for-activerecord/194917/2 "2010-09-14T00:10:31Z")

</div>

On Mon, Sep 13, 2010 at 11:34 AM, Gene A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ## Anyone know if there is any xml driver built in to the Ruby library that can be used with ActiveRecord? I do not want to have to install anything other than Ruby, but, I want to use ActiveRecord.
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

I don’t think there is, because AR3 uses arel, and if you look at arel’s  
readme, it has XML in long term goals.

"For the moment, Arel uses ActiveRecord’s connection adapters to connect  
to  
the various engines, connection pooling, perform quoting, and do type  
conversion. On the horizon is the use of DataObjects instead.

The long term goal, following both LINQ and DataMapper, is to have Arel  
adapt to engines beyond RDBMS, including XML, IMAP, YAML, etc."  
–[GitHub - rails/arel: A Relational Algebra](http://github.com/rails/arel)

---

<div class="post-metadata">

**Author:** ![mydarkpassenger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/82dd89/32.png) [@mydarkpassenger](https://www.ruby-forum.com/u/mydarkpassenger)\
**Post date:** [September 14, 2010, 12:11am UTC](https://www.ruby-forum.com/t/xml-driver-for-activerecord/194917/3 "2010-09-14T00:11:06Z")

</div>

On Mon, Sep 13, 2010 at 5:09 PM, Josh C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> readme, it has XML in long term goals.
> 
> "For the moment, Arel uses ActiveRecord’s connection adapters to connect to  
> the various engines, connection pooling, perform quoting, and do type  
> conversion. On the horizon is the use of DataObjects instead.
> 
> The long term goal, following both LINQ and DataMapper, is to have Arel  
> adapt to engines beyond RDBMS, including XML, IMAP, YAML, etc."  
> –[GitHub - rails/arel: A Relational Algebra](http://github.com/rails/arel)

\*but you would have more luck on a Rails forum

---

<div class="post-metadata">

**Author:** ![mydarkpassenger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/82dd89/32.png) [@mydarkpassenger](https://www.ruby-forum.com/u/mydarkpassenger)\
**Post date:** [September 14, 2010, 1:45pm UTC](https://www.ruby-forum.com/t/xml-driver-for-activerecord/194917/4 "2010-09-14T13:45:39Z")

</div>

Josh C. wrote:

> \*but you would have more luck on a Rails forum

Thank you.
