Creating menus with Ruby

Hello all,
I’m continuing my journey into Ruby and Rails and would like to find a
way to create CSS-compliant menus. I want to restrict what appears on
the menu based on the user’s role, so I’m thinking that I’ll store the
list of roles in which the user is a member in the session. Does this
make sense?

Better yet, does anyone have any sample code (or a component) that
already does the job? I’m looking for roughly the same level of
functionality as you would find in the XmlSiteMap and Menu controls in
ASP.NET (except I want it to actually be CSS compliant).

Thanks,
Will


Do you Yahoo!?
Get on board. You’re invited to try the new Yahoo! Mail.

Hi,

I am also looking for a similar solution. Can you please tell me as to
how you did it ?

Will G. wrote:

Hello all,
I’m continuing my journey into Ruby and Rails and would like to find a
way to create CSS-compliant menus. I want to restrict what appears on
the menu based on the user’s role, so I’m thinking that I’ll store the
list of roles in which the user is a member in the session. Does this
make sense?

Better yet, does anyone have any sample code (or a component) that
already does the job? I’m looking for roughly the same level of
functionality as you would find in the XmlSiteMap and Menu controls in
ASP.NET (except I want it to actually be CSS compliant).

Thanks,
Will


Do you Yahoo!?
Get on board. You’re invited to try the new Yahoo! Mail.