From: Greg Weeks Date: 2007-11-09T15:32:25+09:00 Subject: Re: standard, pretty, and flexible meta-methods? Regarding: module Associations def self.included(base) base.extend(ClassMethods) end ... module ClassMethods def has_many(association_id, options = {}, &extension) ... end end end Sorry about my initial haste. I see now. Lessons learned (I hope): - I must expect to see classy operations in instance method code. - "define_method" - the above "included" trick Plus, of course, the concepts of A) extending a class object and B) opening up Module. Thanks again. -- Posted via http://www.ruby-forum.com/.