Redirect in around filter after action has been yielded
I'm using an around filter which on certain occasions should redirect user to other path AFTER an action has been yielded (either ending with render or redirect). Writing redirect_to in around filter after yield statement results in double render error. Trying to "reconfigure" response object (by setting body to nil and location header ...