Using @flash directly is deprecated

“Using @flash directly is deprecated - call flash instead. (render at
I’ve just noticed this message whilst tailing my dev. log, can anyone
shed any
light on it?

I’m using markaby, and have the following in my template:

div.notice flash[:notice] unless flash[:notice].nil?

…which works fine, apart from the new(?) error; running edge 4718
(updated a
few minutes ago)


Try prefixing flash with @helpers, e.g.



On Tuesday 08 August 2006 00:16, Joe wrote:

Try prefixing flash with @helpers, e.g.


nice one, worked a treat; thanks mate.

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