Hi Matt and Everyone, As always, I like to follow-up with detailed solutions and feedback on end topics I create.
I'm adding a link to gist which houses all of the changes and what works perfectly now: http://gist.github.com/264456 In the application.html.erb layout, I don't particularly like having too much code, even code that pulls from the model. I like to move that into a helper file and since the menu resides within a table, I placed the real code in the table helper file. In the application.html.erb layout, all you have to use is a simple call to the helper method of menu. You'll see that I start with the call for @tabs in the application_controller. I mainly due this because I have administrative tabs that I don't want people to see, so I created a before_filter that looks for admin sessions and if so, admin tabs are displayed and if not, the public tabs are shown. In the page.rb model, you'll see that I am now using the scope you created, but I'm also using another scope that applies to admin tabs. Finally, in the table_helper.rb file, you'll see the code which controls two situations (those where true redirects are being used on the menu or those where virtual menu redirects are being used). However, it applies situational responses for both parent and sub-menu tabs. I'm sure you'll understand it once you see it. And, I like to share code with folks that might have a similar issue they need solved. As always, if you see any issues or you have ideas to clean up the resolved code, please post your response so others browsing later on, can find a cleaned up version of this topic. Take care all. -- Posted via http://www.ruby-forum.com/. -- 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.

