Bugs: Browse | Submit New | Admin
D:/Ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.0-x86-mingw32/lib/oci8/datetime.rb:139:in `array_to_datetime': wrong number of arguments (1 for 2) (ArgumentError) from D:/Ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.0-x86-mingw32/lib/oci8/object.rb:446:in `block in check_metadata' from D:/Ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.0-x86-mingw32/lib/oci8/object.rb:510:in `call' from D:/Ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.0-x86-mingw32/lib/oci8/object.rb:510:in `block in attributes' from D:/Ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.0-x86-mingw32/lib/oci8/object.rb:508:in `each' from D:/Ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.0-x86-mingw32/lib/oci8/object.rb:508:in `attributes' from D:/Ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.0-x86-mingw32/lib/oci8/object.rb:502:in `to_value' from D:/Ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.0-x86-mingw32/lib/oci8/object.rb:543:in `get_coll_element' from D:/Ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.0-x86-mingw32/lib/oci8/object.rb:543:in `attributes' from D:/Ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.0-x86-mingw32/lib/oci8/object.rb:533:in `to_value' from D:/Ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/ruby-oci8-2.1.0-x86-mingw32/lib/oci8/object.rb:574:in `get'
Add A Comment:
Date: 2011-12-15 14:51 Sender: Kubo Takehiro I fixed it. See: https://github.com/kubo/ruby-oci8/commit/bf50f41f105b3f6750b ae8285c23fd838218c35d#diff-1 Use svn trunk or git master. Otherwise, wait ruby-oci8 2.1.1. Date datatype in a object type has been retrieved as a DST-unaware DateTime. But it may be retrieved as Time in the next release.
Date: 2011-12-13 15:17 Sender: Kubo Takehiro I'll fix it two days later.