Activerecord and ruby-dbi

Hi,

Just wondering: does anybody know if ActiveRecord has been built
entirely from scratch or if it’s inherited (a lot of) functionality from
ruby-dbi?

Jeroen