1 <%= tag_with_body do %><%end%>
What I really needed was a way to dump the generated ruby code from ERB. Turns out you can. On the last line of my controller action I added the following:
1 puts @__erbout
1 <%= tag_with_body do %><%end%>
1 puts @__erbout
No comments:
Post a Comment