# ODBC and writing your own ActiveRecord adapter

DevFeed: [ODBC and writing your own ActiveRecord adapter](<https://devfeed.tech/articles/odbc-and-writing-your-own-activerecord-adapter-28630.md>)

Original publisher: [Read original article](<https://eng.localytics.com/odbc-and-writing-your-own-activerecord-adapter/>)

Author: Kevin Deisz

Published: 2017-03-07T22:08:02Z

Content type: article

Language: en

Sources: [Localytics](<https://devfeed.tech/sources/localytics.md>)

Topics: [Ruby on Rails](<https://devfeed.tech/topics/ruby-on-rails.md>), [Rails](<https://devfeed.tech/topics/rails.md>), [Ruby](<https://devfeed.tech/topics/ruby.md>), [Object-relational mapping](<https://devfeed.tech/topics/orm.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [activerecord](<https://devfeed.tech/tags/activerecord.md>), [api](<https://devfeed.tech/tags/api.md>), [database](<https://devfeed.tech/tags/database.md>), [rails](<https://devfeed.tech/tags/rails.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [ruby-on-rails](<https://devfeed.tech/tags/ruby-on-rails.md>)

## AI overview

The article describes Localytics' open-source ODBC adapter for ActiveRecord, enabling Ruby on Rails applications to communicate with ODBC-compliant databases. It explains the adapter's role in a Rails API upgrade and recounts its development from an older fork, including support for multiple Rails branches and database environments. The supplied text ends before the account is complete.

## Source excerpt

Today we are open-sourcing our ODBC adapter for ActiveRecord, which allows Ruby on Rails applications to communicate with ODBC-compliant databases. The impetus for this work was an effort to update one of our APIs to run with the latest Rails and ruby. Along the way we released Rails