First page Back Continue Last page Overview Text


The next major database library for ruby was ActiveRecord.

It offered two main advantages over previous approaches. The first is it required a lot less code, since the programmer didn't have to hand code all of the SQL.

The second advantage was that it allowed the programmer to easily assign behavior to specific types of rows, which led to much more object-oriented code.