The item of the collection being iterated over is menupage, not @menupage (which is nil)
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.
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks