Dirtyflash is a Rails plugin that allows you to easily add complex behavior, such as links and i18n, to your flash messages.