Does this line work?  I know we were having trouble viewing it before.  I think it might need to be written like this instead flash.now[:alert].