Forum: Ruby on Rails Flash with dynamic data

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Brian S. (Guest)
on 2006-05-09 09:07
I've been trying to figure out how to put dynamic data in the flash to
no avail. What I want is something that ends up looking like this:

Product "Widget5000" has been updated.

Any help would be appreciated.
Kevin O. (Guest)
on 2006-05-09 09:18
(Received via mailing list)
On Tuesday, May 09, 2006, at 7:07 AM, Brian Spaid wrote:
>Rails mailing list

flash[:notice] = "Product '#{product}' has been updated"

Brian S. (Guest)
on 2006-05-09 16:04
perfect, thanks! It was the nested quotes screwing me up.
This topic is locked and can not be replied to.