activescaffold/active_scaffold — Issue #75: flash messages must be marked html_safe
Author: clyfe
Created: 2011-10-08 21:15:36+00:00
State: open

Some flash messages are sanitized and appear in view as raw text instead as html.
To reproduce:

# in controller
def after_update_save(record)
flash.now[:warning] = "Some message"
end

When updating, the flash message is shown as text, instead on nice formatted html. To fix see these commits:

https://github.com/clyfe/active_scaffold/commit/acccf2243268313c4a77d8392c33f6cae4f8136f
https://github.com/clyfe/active_scaffold/commit/2123d9aded3bbb1961c37fb4ff5973267f307d5d