AR: Reflection

Paul
Tue, 09 Aug 2005 01:33:30 -0000

I am working with the Reflection macro''s and was wondering if anyone
had been able to do the following.

I havefour classes, Foo, Bar, Mill and Goog,

Bar :habtm googs
      :habtm mills

Foo :habtm googs
       :habtm bars

If I do a Foo.reflect_on_all_associations I get Googs twice and Mills
as well as Foo''s Googs and Bars.

I don''t want to know what Bar habtm I just need to know Foo''s.

Is there a way to do this? Or any ideas out there?

-Paul