class
rails latest stable - Superclass: AbstractAdapter

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

The DB2 adapter works with the C-based CLI driver (http://rubyforge.org/projects/ruby-dbi/)

Options:

  • :username — Defaults to nothing
  • :password — Defaults to nothing
  • :database — The name of the database. No default, must be provided.
  • :schema — Database schema to be set initially.

Files

  • activerecord/lib/active_record/connection_adapters/db2_adapter.rb