Is there a way to suppress the Double Render Error: "ActionController::DoubleRenderError. Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and only once per action." Ideally, I would like the last redirect/render called to be the one that is actually used when the page is sent to the browser. -- Posted via http://www.ruby-forum.com/.
On Friday 24 Feb 2006 18:44, Lindsay Boyd wrote:> Ideally, I would like the last redirect/render called to be the one that > is actually used when the page is sent to the browser.Just put a "return" statement straight after them, and your problems will vanish. ;-) See: http://jamis.jamisbuck.org/articles/2005/07/08/rails-tip-of-the-day ~Dave -- Dave Silvester Rent-A-Monkey Website Development http://www.rentamonkey.com/ PGP Key: http://www.rentamonkey.com/pgpkey.asc