You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to activejd...@googlegroups.com
I'm using Model.where() with an IN clause to load lists of models associated with another list of models. I'm tried using .include on one of my where queries to do part of the work for me, but it didn't seem to work over a polymorphic association (parent_id & parent_type columns in the table). Is this a known issue or should I try to create a test case?
Evan
ipolevoy
unread,
May 1, 2012, 3:33:07 PM5/1/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to activejd...@googlegroups.com
Looking at code in LazyList, I see no support for include() for polymorphic associations. It should be possible to add it though, if you feel strongly about it
thanks igor
ipolevoy
unread,
May 1, 2012, 4:42:24 PM5/1/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message