Dmitrij B. wrote in post #1105899: > I did not mean html and css. I mean rails way. Maybe have helpers for > this or use partial or better practice in rails
Which is precisely why I linked to the list on ruby-toolbox. They are examples of menu systems designed to work with Rails. And their respective web sites and GitHub pages should give you plenty of content to read up on in choosing the right solution for your needs. But, as I said choosing a solution is highly dependent on how complex your menu needs are. Some navigation systems are really simple and can be done entirely manually, others may benefit from one of those gems in the list. And yes, use of partials and helpers are beneficial, but that's completely independent of what you are building. It makes no difference whether it is a menu that you're sharing, or anything else generic enough to share, that's the purpose of a partial. Helpers are generally used to move complex logic out of the view template, their role remains the same regardless of what you're building. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.