"Using @flash directly is deprecated - call flash instead. (render at (eval):1)" 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) tia
Try prefixing flash with @helpers, e.g. @helpers.flash[:notice] Joe -- Posted via http://www.ruby-forum.com/.