I have an ERB that only contains this line:
hello <% radio_button_tag "a", "b" %> world
PROBLEM: Output is only h开发者_开发百科ello world
. No radio button is generated.
What could be the problem?
You forget equal sign:
hello <%= radio_button_tag "a", "b" %> world
精彩评论