Ruby debug ERB template displaying in ruby
Question: Instead of converting the output from my ERB template, is there a parameter, parameter, or hack that I can use that will output the raw ruby code that is generated just before the conversion starts?
Rationale: I am having trouble figuring out an ERB template syntax error and I would like to see a simple ruby code that the ERB generates. If anyone has alternative methods for debugging and tracking specific problems in the ERB, please log in.
TIA
+1
a source to share