Rails and hanami-view don't get along

So there’s no String#html_safe at all after running this? If so, not ideal!

This would be another workaround to use until we can make adjustments inside Hanami::View itself:

Hanami::View::HTML::StringExtensions.class_eval do
  def html_safe
    ActiveSupport::SafeBuffer.new(self)
  end
end
1 Like