What I want to do is make it just output the view itself, and ignore
what Rails would normally think is embedded Ruby within the HTML.
For example:
<%= homework.name %>
Due <%= homework.due %>
The Question:
<%= current_question.contents
Your Answer:
<%= current_question.answer %>I want an ActionView Template Handler to ignore all mentions of:
- <%= homework.name %>
- <%= homework.due %>
- <%= current_question.contents %>
- <%= current_question.answer %>
More specifically, it should ignore any tags starting with <%
and
ending with %>
If you need more info check out
http://pastie.org/private/epsxnapldho6co2y0indg
(I originally posted this question on StackOverFlow, but they were of
no help. I think this might be a better place.)