Hi, me again with another silly question. If flash.now only lasts for
the request on which it was set, what makes it different than a plain
old instance variable?
Wouldn’t,
def action
@message = “message”
end
<%= @message %>
produce the same results as,
def action
flash.now[“message”] = “message”
end
<%= flash[“message”] %>
?