Hacking content_for to create a simple display helper
I was playing around on a side project and needed to dynamically generate breadcrumbs. However, I wanted a simple and unobtrusive way to build them within the views. https://blog.driftingruby.com/hacking-content_for-to-create-a-simple-display-helper/
Post a comment