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

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Programming » Ruby support

 

SQL Anywhere Ruby API support

There are three different Ruby Application Programming Interfaces 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/.

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

 SQL Anywhere Native Ruby Driver
 Rails
 SQL Anywhere ActiveRecord Adapter
 SQL Anywhere Ruby/DBI Driver
 See also

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