I recently was asked to look at an app where none of the css flash generated errors were being displayed. Low and behold the culprit was something very simple in the syntax involving ruby symbols.
Their Problem
flash['notice'] = "Section Created Successfully"
My Solution
flash[:notice] = 'Section was successfully created.'