From: eden li Date: 2007-03-12T10:33:31+09:00 Subject: Re: Ruby methods question It's still really unclear what you're asking (at least to me). Are you saying you want acts_as_fox to work only if the object has fox == true (and the same for chicken)? Or, are you talking about single table inheritance? If so, you can just add acts_as_XXX to your sub-classes as appropriate... On Mar 12, 6:10 am, "bcpar...@gmail.com" wrote: > Your code works. I want to make the acts_as_chicken :something to be > available only to those ActiveRecord subclasses that uses the > acts_as_chicken declaration. How can I accomplish that?