From: lists@... Date: 2009-07-24T01:32:16+09:00 Subject: Re: ruby /mysql needed help asap.. On Fri, Jul 24, 2009 at 01:24:23AM +0900, Wrapster Aol wrote: > unknown wrote: > > On Fri, Jul 24, 2009 at 01:06:42AM +0900, Wrapster Aol wrote: > >> Hi all, > >> > >> I would like to know about the ruby/mysql module and how to use it... > >> > >> Ive been at it trying to learn myself, but its been slow going.. I > >> essentially want to manage DB(create,delete,update,search and retrieve) > >> through ruby and purely ruby only.... > >> > > > > This seems fairly helpful as an introduction to ruby/mysql module. It's > > wrapped pretty simply around MySQL C API, so should mirror other > > languages like PHP or Perl: > > > > http://www.kitebird.com/articles/ruby-mysql.html > > > > I hope you find this link relevant. > > > > - Kyle > > This is exactly what I'd referred earlier Kyle, The issue is want to use > the built in methods described in the module.... > for eg, fetch_row, select_db... such stuff... > > But where can i find details on these methods if not comprehensive at > least a reference to the existence of such methods is sufficient.. I'll > work on it and figure it out myself.... > > -wrapster http://www.tmtm.org/en/mysql/ruby/ seems to have all the methods and classes laid out, but a severe lack of decent examples. Sorry to be of little help, I can see why this is frusterating. My approach would be to use irb to learn how to manipulate each object before beginning to write programs/scripts which use it. - Kyle