Fixed flash message display by changing variable keys to strings per Rails 4.1 update.