Hey, fellow Rubyists!
Have you ever found yourself wrestling with conditional class strings in your Rails views? Juggling string interpolation, co...
For further actions, you may consider blocking this person and/or reporting abuse
Hello
I like this pattern, this being said what is the main difference with rails class_names helper ?
Hey! That's actually a great question because somehow I didn't know about the
class_nameshelper :) I briefly looked at the implementation, and it seems the performance might be the most significant difference.I will make a more thorough comparison. Thank you for bringing my attention to it!