DoubleRenderError... again. ;-)

The simple way to put it is this. You can only call render or redirect_to once per action, period. Neither one of these methods stop execution of an action either. So, you don't have to use return with render or with redirect_to as long another call to either of them is encountered in the path of execution. If you are running into the problem this frequently, it probably means you need to rethink how you are designing your actions.


Joshua Muheim wrote: