I want my image to be the status' name ("ok.png" for example).
I've tried:
link_to '<img src="images/#{refactoredStatus}.png">'.html_safe, '#', :class => 'option show_status'
But that literally shows images/#{refactoredStatus}.png in my HTML.
How do I do this?
'string from single quote literal'differ from"string from double quote literal"? See some applicable reference material.