plataformatec/devise — pull request #2366 by hauleth (2013-04-06 16:49:21+00:00)
Title: Extract get_message

It will allow to get message when creating AJAX responses instead
manually searching for needed one.