fix ignore_types to work with FlashHash in rails 4.1
Fixes #5192
Merge pull request #10 from gmacdougall/2-3-dev

fix ignore_types to work with FlashHash in rails 4.1