Problem What is the most elegant and readable way to in include (potentially long) image_tag calls inside of link_to? Example […]
Tag: erb
Hide content unless an array contains at least one non-empty string
Problem I have an array of hints. Sometimes, this array could contain an empty string. Occasionally, the array might contain […]
Custom FormBuilder
Problem I’m starting Rails and Ruby for a short time. But I try to make it the cleanest way I […]