# Attach database in active record with sqlite3

**URL:** <https://www.ruby-forum.com/t/attach-database-in-active-record-with-sqlite3/118986>\
**Category:** Rails\
**Created:** [November 1, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/attach-database-in-active-record-with-sqlite3/118986 "2007-11-01T22:29:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eclubb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecc23a/32.png) [@eclubb](https://www.ruby-forum.com/u/eclubb)\
**Post date:** [November 1, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/attach-database-in-active-record-with-sqlite3/118986/1 "2007-11-01T22:29:24Z")

</div>

Sqlite3 is capable of attaching multiple databases together so two or  
more can be accessed with a single SQL query. Do AR and sqlite3-ruby  
support this functionality? If not, is there a way to achieve similar  
functionality?

Thanks,  
Earle
