Skip to content

ActiveRecord Sybase adapter for Rails 2, 3 and 4, with TinyTDS or Sybase-CT

Notifications You must be signed in to change notification settings

UFSC/activerecord-sybase-adapter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ActiveRecord Sybase Adapter (TDS branch)

This adapter is an almost complete rewrite of the original Sybase adapter by John R. Sheets, brought up to date with Rails 3.1 and with the database driver changed from the original Sybase CT with Tiny TDS.

It depends on a sybase Visitor for AREL that implements LIMIT and OFFSET using Cursors on ASE 15 and temp tables on ASE 12.5. Because of this difference, the adapter does NOT depend explicitly on the visitor, but rather you must use Bundler to require the branch you need in your Gemfile.

Caveats

We are not releasing this adapter on rubygems.org in order to not disrupt live rails application depending on the age old adapter still available on gems.rubyonrails.org.

Credits

Tiny TDS support was initiated by Darrin Thompson [email protected] and completed by Marcello Barnaba [email protected]. Rails 3.1 support, Code reordering and clean up thanks to Simone Carletti [email protected].

UFSC version

The adapter is being used in production with a Sybase ASE 16.2 using a specific (non-ASCII) charset. Column names with non-ASCII characters are accepted. Test cases have been created (and are planned to be released) for rails version 3.2.22.5.

About

ActiveRecord Sybase adapter for Rails 2, 3 and 4, with TinyTDS or Sybase-CT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%