I am trying to add a link in a flash message on successful create action of active-admin controller.But the HTML of the link is being escaped and displayed as plain text on view.
Rails 5.2.1, ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
eg: If I try to do
flash[:success] = "Complete this quick survey. <a href='#{url}'>Click here</a>".html_safe
The flash message is displayed as,
"Complete this quick survey. <a href='https://www.example.com'>Click here</a>"
Expected behaviour: There should be a working link in the flash message