Make bootstrap_flash helper work with rails 4.1.0