From: Rich Morin Date: 2006-09-22T03:31:14+09:00 Subject: Re: Ruby connection to MySql At 3:13 AM +0900 9/22/06, Patrick Lynch wrote: > I'm going thru the "PickAxe" book but can find only > limited information in it regarding how Ruby connects > to and uses MySql.. > > Is there any documentation available in regard to this? As far as I know, Ruby itself has no language support for MySQL in particular or databases in general. However, a number of libraries have been developed to allow Ruby to interact with these facilities. The most popular interface, Active Record, is part of the "Ruby on Rails" effort. Several books are available on this topic, including: Agile Web Development with Rails Rails Recipes Ruby for Rails Ruby on Rails: Up and Running General coverage of database usage in Ruby is given in: Enterprise Integration with Ruby This book also covers LDAP, XML, and distributed apps. I like the book's approach, which starts with low-level solutions and works its way up to more abstract interfaces. This allows the reader to appreciate the problems that the higher-level solutions are dealing with (and, if it becomes necessary to revert to a lower-level approach, what options are available). -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development