For some reason I can’t access my flash object anymore! When putting
<%= flash[:notice] %>
in my view, I get the following error:
You have a nil object when you didn’t expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.
Extracted source (around line #1):
1: <%= flash[:notice] %>
What the heck is the problem here? I can’t remember doing anything that
could have caused this…?
Thanks for help