Contextual menu are in almost every project. Here, I discuss about a technique that I am using that leverages content_for and yield. If you've never heard of it before, come and have a read. It's going to be worth it.
In almost every project, there's either a menu or breadcrumb that never really new how to build one efficiently. Sure I knew about the gems and I had an idea of an implementation. But until my latest project, I wasn't satisfied.