Forum: Ruby Re: Passing an array to DBI statement execute

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Berger, Daniel (Guest)
on 2006-05-31 01:12
(Received via mailing list)
> any way to print out what sql statement it is trying to
> execute?  I can't find any API docs for DBI.

Are you doing dbh.commit before you're finished?  I believe autocommit
defaults to false with OCI8.



This communication is the property of Qwest and may contain confidential
privileged information. Unauthorized use of this communication is
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and
all copies of the communication and any attachments.
Paul B. (Guest)
on 2006-05-31 01:27
(Received via mailing list)
thanks, needed to explictly commit.  And for the record, DBI
handles the Time objects, they end up as valid DATE values in the
This topic is locked and can not be replied to.