This part of the if condition would never be executed, because the **@redirect_response** is set to nil at the top of the method, and is only set inside of the response.redirect? if block, which exits the method before being able to execute the commented part.