bmorrall/bootstrap-rails-helpers — pull request #1 by byzg (2014-10-02 22:47:29+00:00)
Title: fixes_flash_helper_for_rails_4_1

I see that in Rails 4.1 (in my case 4.1.6) flash that was made by controller
redirect_to(new_user_friend_assignment_path,: {info: "Чтобы создать беседу добавьте собеседников"})
p flash # => #, @flashes= {"info"=>"Чтобы создать беседу добавьте собеседников"}, @now=nil>

It's means that ALERT_TYPES.include?(type) always returns false (because "info" - is a string, not symbol)

PS: sorry for my english