Bug in @flash deprecation?

Hi,

I'm getting a warning about @flash since updating to Rails 1.2.1, but as far as I can tell I'm not using @flash.

Warning is:

DEPRECATION WARNING: @flash is deprecated! Call flash. instead of @flash.. Args: [:error] See http://www.rubyonrails.org/deprecation for details. (called from _run_rhtml_47app47views47shared47_flash46rhtml at /Users/evansj/rails/config/../app/views/shared/_flash.rhtml:1)

plus another identical message for arg :notice at _flash.rhtml:4

_flash.rhtml just contains this:

<% if flash[:error] -%> <div class="error" id="error"><%= flash[:error]%></div> <% end -%> <% if flash[:notice] -%> <div class="notice" id="notice"><%= flash[:notice] %></div> <script type="text/javascript">new Effect.Highlight('notice', {duration: 2.0});</script> <% end -%>

A grep for @flash in my project finds nothing (performed from the project root, so includes searching the plugins).

Any ideas?

Jon

Hi Tom,

I just wanted to say your not the only ones with this issue. Its not a big deal, but a bit annoying...