Extensible Generator
A project plugin-based that generates the mapping code for ActiveRecord.
This is a custom tool intended to facilitate and expedite the development of object-relational mapping with ActiveRecord. In addition to allowing the developer to create extensions to the generated code is the way you want.