has_many_polymorphs

0 views
Skip to first unread message

Ian White

unread,
May 1, 2008, 4:34:17 PM5/1/08
to nested_has_...@googlegroups.com
J*rg said:

> quick Q regarding your so far awesome plugin: I have a user model which has many 'items', which is basically a h_m_polymorphs association to all sorts of models (e.g. images, texts, etc)
> now, every user also has related users via a relationship model and therefore has an overall .relationships association and many :through => :relationships subsets thereof (e.g .friends , .colleagues, ...).
> Now what I'd like to get is all polymorphic .items of all related users of one particular user. I gave it a try all evening but somehow it didn't work :( Did you ever give that combination a try?

Does the latest work with this?

You mentioned adding some specs, that would be fantastic - let me know
if you need a hand getting the specs running.

Cheers,
Ian

--
Argument from Design--We build web applications
Western House 239 Western Road Sheffield S10 1LE UK
Mobile: +44 (0)797 4678409 | Office: +44 (0)114 2667712
<http://www.ardes.com/> | <http://blog.ardes.com/ian>

Reply all
Reply to author
Forward
0 new messages