Question: There is a bug in this code. The logout message is not appearing on the login template. What is the cause?
- The string assigned to flash[:notice] will not be available until the next browser request.
- An instance variable should be used for flash[:notice]
- This is an invalid syntax to use to assign valuse to flash[:notice]
- The previous value of flash[:notice] will not be cleared automatically
Answer: The correct answer of the above question is Option A:The string assigned to flash[:notice] will not be available until the next browser request.