Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (Français) » SQL Anywhere Server - Programming » Ruby support

 

SQL Anywhere Ruby API support

There are three different Ruby APIs supported by SQL Anywhere. First, there is the SQL Anywhere Ruby API. This API provides a Ruby wrapping over the interface exposed by the SQL Anywhere C API. Second, there is support for ActiveRecord, an object-relational mapper popularized by being part of the Ruby on Rails web development framework. Third, there is support for Ruby DBI. SQL Anywhere provides a Ruby Database Driver (DBD) which can be used with DBI.

There are three separate packages available in the SQL Anywhere for Ruby project. The simplest way to install any of these packages is to use RubyGems. To obtain RubyGems, go to [external link] http://rubyforge.org/projects/rubygems/. It is recommended that you install version 1.3.1 or later.

The home for the SQL Anywhere Ruby project is [external link] http://sqlanywhere.rubyforge.org/.

 SQL Anywhere Native Ruby Driver
 SQL Anywhere ActiveRecord Adapter
 SQL Anywhere Ruby/DBI Driver

Rails support in SQL Anywhere
Ruby-DBI Driver for SQL Anywhere