Flash with dynamic data


#1

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.


#2

perfect, thanks! It was the nested quotes screwing me up.


#3

On Tuesday, May 09, 2006, at 7:07 AM, Brian Spaid wrote:


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

flash[:notice] = “Product ‘#{product}’ has been updated”

_Kevin