if your Post belongs_to a Group, then you can reference by @post.group_id
On Nov 13, 3:30 pm, elioncho <[EMAIL PROTECTED]> wrote: > Well, Long Version of the problem: > > I know that is impossible unless I have a session or maybe sending an > extra param at the end of the url. The app I am creating is built > around the concept of groups. So a user can belong to various groups > and make posts and events on each of them. They also want the users > profiles to stand-alone on the URL without the group preceding. So a > user profile will show all his/her activity on all the groups. But > then, If I am navigating through a group and click on a user who > created and event I will be taken to he/she's profile and all the menu > links for group events and posts will be broken because those links > where created with the group_id. So now I there's no reference to > which group I was navigating. That's why I asked if maybe I could have > it there but hidden. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

