In rails, can I access response.body in a action before it returns?
Say I want to do some final string replacements before it returns, can I get access to response.b
The poor-man's way is to do this:
str = render_to_string "mycontroller/mytemplate" str.gsub!(/blah/,'') render :text => str