SubSonic (aka ActionPack) is an incredibly nice tool for generating a data access layer direct from your database schema, including strongly-typed, ActiveRecord-based access to tables, and stored procedures. There is a nice demonstration of it in action.