rails/rails — pull request #12222 by rcillo (2013-09-13 13:22:14+00:00)
Title: Custom flash should be defined only for the class that defines it and it's subclasses

This fixes https://github.com/rails/rails/issues/12057