Ruby ActiveRecord and MySQL: Ruby Study Notes - Best Ruby Guide, Ruby Tutorial
RubyLearning.com Ruby helps programmers have more fun! Ruby ActiveRecord and MySQL Objective We shall look at code examples explaining how to connect to a MySQL database using Ruby and ActiveRecord. ActiveRecord Rails uses ORM, which stands for object-relational mapping. ORM libraries map database tables to classes. If a database has a table called orders, our program will have a class named Order. Rows in this table correspond to objects of the class - a particular order is represented as an object of clas...
http://rubylearning.com/satishtalim/ruby_activerecord_and_mysql.html
これはわかりやすい
http://b.hatena.ne.jp/entry/http://rubylearning.com/satishtalim/ruby_activerecord_and_mysql.html