The item of the collection being iterated over is menupage, not @menupage (which is nil)
Fred
The item of the collection being iterated over is menupage, not @menupage (which is nil)
Fred
Oops i'd assumed your partial was called menupage, which it isn't. It's called menu, so that's the name of the local variables.
Fred