updated to use Rails 4.1 strings in flash hash

simple fix for rails 4.1 - tested and worked fine.