From: Peter Bailey Date: 2007-06-02T00:35:35+09:00 Subject: Re: Help with Ruby < - > Oracle Connectivity Brian Candler wrote: > On Fri, Jun 01, 2007 at 11:55:29PM +0900, Peter Bailey wrote: >> I'm a bloody genius. What can I say? So, from what you've shown me, it >> appears that the SQL stuff is inside those parentheses, like above. >> Right? In SQLPlus, I have to end every instruction with a semi-colon, >> Perl-like. But, inside Ruby, that doesn't seem to be necessary. > > If you google for "ruby dbi tutorial", the first hit is > http://www.kitebird.com/articles/ruby-dbi.html > which should get you started. > > But unless you're wedded to working directly at the SQL layer, have a > look > at ActiveRecord too. It rocks. > > (No offence to the other OO-DB mappings out there, but this is the one > which > Rails uses, and so there's lots of good documentation you can buy. In my > opinion, $40 is well spent if it saves you half-an-hour of head > scratching) > > Brian. Thanks, Brian. Yes, that Oracle doc. you pointed me to looks pretty in-depth. Regarding Active Record, yes, I've certainly read that it rocks, mainly as part of Rails. Can it be used in a non-Rails way, too? I'm perfectly fine with shelling out some bucks for a good book. Thanks again, Peter -- Posted via http://www.ruby-forum.com/.