sinatra-redirect-with-flash provides redirect helper that can set proper flash (rack-flash) before the redirection