seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.5k stars 998 forks source link

Call to_s on msg before making it html_safe #838

Open matfiz opened 9 years ago

matfiz commented 9 years ago

Sometimes messages are passed as symbols - then it is reasonable to stringify them before html_safe, otherwise it throws an error.