Re: How do I access raw Oracle OCI8 database handle?

Dan Manges
Wed, 03 Jan 2007 15:37:17 -0000

Nate wrote:
> Hi, I know about the connection() routine in ActiveRecord::Base, but
> that gives you the ActiveRecord adapter, not the real OCI8 "dbh"
> database handle.
[snip]
> Anybody able to do this?

ActiveRecord::Base.connection.raw_connection.parse

Dan Manges


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---