ruby /mysql needed help asap..

W

Wrapster Aol

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....

I havent come across the proper tutorials where in i can understand all
the methods involved in query/processing of the DB...

Need some urgent help on this, my works have hit a dead end because of
this...

Please help asap
regards
 
L

lists

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
 
W

Wrapster Aol

unknown said:
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
 
L

lists

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top