My site is generated by Middleman. I know I could be using HAML, and Sass, and other optimizations are possible, but what I'm curious about at this stage is DRYing up code in my custom helpers, and ...
I have an array of hints. Sometimes, this array could contain an empty string. Occasionally, the array might contain only empty strings, in which case I want the whole block to be skipped. This is ...
What is the most elegant and readable way to in include (potentially long) image_tag calls inside of link_to? Example ...
Is there a better way to implement my carousel in less lines? Currently my solution is: ...