method
content_tag_for

Register or
log in
to add new notes.
kwerle -
June 19, 2013 - (>= v3.2.13)

1 thank
Must use :class, not 'class'
Note that
<%= content_tag_for(:li, @person, :class => “bar”) %>
does the right thing.
<%= content_tag_for(:li, @person, ‘class’ => “bar”) %>
will not!