Hi All, I'm stuck here. Very newbie.
Assume that user creates contacts I have an embed activescaffold showing the contacts owned by current user. However, I want to include all of the contacts that owned by the current user and all his/her children. I have the parent_id under users table. However, it seems that embed AS only allows a fix number of conditions instead of doing it in a for loop (which is more of how I would need it to be). On top of that, I can't have multiple embed AS using the same controller on the same page. Where would I look for something like that? I am currently just only able to check that in the application.rhtml layout with the render condition. Any light/insight/directions is appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
