For some very odd reasons, flash[] evaluates to nil inside a partial,
but not elsewhere.
This was not the case with previous rails.
I have a controller called Stories, so in /layouts/stories I can access
flash[], but if I render :partial => ‘flash’ inside the layout, and
_flash contains flash[], it would evaluate to nil and crash my app.
Is there something that works differently with Rail 2.0? it was OK
before the update.
I can use flash[] in helpers and controllers with no problems.