If your controller gets an action that it will render a template for - and you need to add a flash notice to the page - you'd use:

🎲 Try a Random Question  |  Total Questions in Quiz: 122  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Ruby on Rails Fundamentals Test — practice the complete quiz, review flashcards, or try a random question.


If your controller gets an action that it will render a template for - and you need to add a flash notice to the page - you'd use: