Rails flash that works for ajax and old-fashion page load