Is it just a mater of taste, or does it have a good reason to choose one method over another?
To a large extent. flash[:notice]is how Rails handles it internally, so if there is a โrightโ way to do it, maybe it is. Personally, I prefer flash.notice, but this is only my preference.
source
share