diff options
Diffstat (limited to 'activerecord/lib/active_record/vendor/db2.rb')
-rw-r--r-- | activerecord/lib/active_record/vendor/db2.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/vendor/db2.rb b/activerecord/lib/active_record/vendor/db2.rb index ec652f8706..812c8cc517 100644 --- a/activerecord/lib/active_record/vendor/db2.rb +++ b/activerecord/lib/active_record/vendor/db2.rb @@ -66,7 +66,7 @@ module DB2 end def connect(server_name, user_name = '', auth = '') - check_rc(SQLConnect(@handle, server_name, user_name, auth)) + check_rc(SQLConnect(@handle, server_name, user_name.to_s, auth.to_s)) end def set_connect_attr(attr, value) |