From: ara.t.howard@... Date: 2007-03-12T14:40:34+09:00 Subject: Re: Ruby methods question On Mon, 12 Mar 2007, bcparanj@gmail.com wrote: > I don't want to pollute the ActiveRecord class by making the acts_as_chicken > available to all of its classes. It must be made available only to the > sub-classes of the ActiveRecord that has the acts_as_chicken declaration. module ActsAsChicken # stuff end class ActiveRecord def self.inherited other super ensure other.extend ActsAsChicken end end -a -- be kind whenever possible... it is always possible. - the dalai lama