Solving the Depricated @Flash Warning

   By chris on July 10th 2007 in /dev/rails | 470 views

Long long ago I ran into an issue in which my use of flash always generated a warning, though I thought I was implementing it properly.

In the comments Dmitry finally solved the mystery:

Don’t name your flash partial “_flash.rhtml”, name it something else, like “_flash_box.rhtml”. This is a known bug.

And with that, no more warnings.

Trackback URI | Comments RSS

Leave a Reply