Hi all,
I came across the situation today where I had been cleaning up the
menu system and inadvertently created the scenario where there are no
menus until the user logs in. So no menu items had the public Role
permissions. This gives a nil reference error when
Goldberg::Menu.get_menu returns nil. I changed this to return the
empty list instead and it seems to be fine.
mark