Rails association extensions
I think this might be very useful for creating expressive models.
Search for Association extensions inside the ActiveRecord::Associations::ClassMethods API doc.
Hrm… need a bit of time with this but I suspect I have a lot of uses for it floating around.