From: Alex Young Date: 2006-08-04T15:58:36+09:00 Subject: Re: Array#size empties the Array?? Daniel DeLorme wrote: > Sven Suska wrote: >>> This may be irrelevant, but what's rks.class.ancestors? >> >> [Array, >> ActiveSupport::CoreExtensions::Array::Conversions, >> Enumerable, >> Object, >> Kernel] > > This is probably wrong. Try to do this instead: > (class << rks;self;end).ancestors > and you'll probably find this: > [ActiveRecord::Associations::HasManyAssociation, > ActiveRecord::Associations::AssociationCollection, > ActiveRecord::Associations::AssociationProxy, Object, > Base64::Deprecated, Base64, Kernel] Ooh, good catch. -- Alex