activerecord Tutorial

Active record is an architectural pattern of modeling database objects. In this pattern classes match very closely the structure of underlying database.