Flash with dynamic data

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.

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

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

Rails mailing list
[email protected]

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


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs