Chapter 1. Introduction

Lafcadio is an object-relational mapping library for Ruby. The point of an ORM is to allow you to treat database rows like first-class objects, minimizing the amount of time you have to spend thinking about SQL vagaries so you can spend more time thinking about your program's logic. It currently supports MySQL and PostgreSQL.

Features include:

In development since 2002, Lafcadio is still in active development, but is mature enough to be used in production systems. Most notably, it's used at, an online arts website that gets more than a million pageviews a month.