From: Brian Candler Date: 2011-09-28T16:51:11+09:00 Subject: Re: ruby database CC Chen wrote in post #1024021: > Now I'm studying Mysql syntax, but seems don't use on ruby mysql? Did you google for "ruby mysql"? What did you find? Did you try "gem install mysql"? If so, did it install succesfully? If not, show the error. If it installed OK, did you try writing some code to use it? If it didn't work, what error message or problem did you see? Note the mysql gem is a "low level" API: a thin wrapper around the C mysql API. If you use it, your code will be tied to mysql only. There are several higher-level APIs - e.g. ActiveRecord, Sequel, DataMapper - which both decouple you from the underlying database, and give higher-level abstractions to make your code shorter and simpler. If you use one of these, you'll need to install it in addition to the mysql gem. Regards, Brian. -- Posted via http://www.ruby-forum.com/.