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
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.
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.
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
On Fri, Jul 24, 2009 at 01:24:23AM +0900, Wrapster Aol wrote:
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
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.