Flash error not showing

I’m trying to get an error message to show up on the next view using the
flash[:error] variable, but it does not show up. If I change it from
:error to :notice it works just fine but obviously comes up green
instead of red. The :error does work on other views and actions in same
controller but not my current action.

Any ideas? Thanks.

David

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