render_to_string followed by render issues - Ruby Forum
I was puzzled by this yesterday, and good thing I went to do something else instead of tearing my hair out. Came back fresh today and found this. Apparently, render_to_string normally doesn't count as a render--given that it succeeds. If it throws an exception for some reason, then it'll get count as a double render if you rendered elsewhere. Small tip!
Wednesday, February 20, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment