diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-23 17:25:41 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-23 17:25:41 +0000 |
commit | c4e519621065879c296cfdbb25b196021df1fd4d (patch) | |
tree | 84da2d86d3ddfd449992271ff6a2e5940c0da619 /activerecord/lib | |
parent | 1dc0b2a96095695fabd9210a401484cd5b82146f (diff) | |
download | rails-c4e519621065879c296cfdbb25b196021df1fd4d.tar.gz rails-c4e519621065879c296cfdbb25b196021df1fd4d.tar.bz2 rails-c4e519621065879c296cfdbb25b196021df1fd4d.zip |
Updated documentation even more
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/db2_adapter.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/db2_adapter.rb b/activerecord/lib/active_record/connection_adapters/db2_adapter.rb index 225ade0441..d5bb1147f9 100644 --- a/activerecord/lib/active_record/connection_adapters/db2_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/db2_adapter.rb @@ -28,7 +28,14 @@ begin end module ConnectionAdapters - class DB2Adapter < AbstractAdapter # :nodoc: + # The DB2 adapter works with the C-based CLI driver (http://raa.ruby-lang.org/project/ruby-db2/). + # + # Options: + # + # * <tt>:username</tt> -- Defaults to nothing + # * <tt>:password</tt> -- Defaults to nothing + # * <tt>:database</tt> -- The name of the database. No default, must be provided. + class DB2Adapter < AbstractAdapter def select_all(sql, name = nil) select(sql, name) end |