Ignore

Please note that your browser is not supported.

We recommend upgrading to the latest Firefox or Google Chrome.

Displaying persisted HTML

Frontend

I just found out how to display HTML from the database in the UI.

binder :note do
  def body
    unless @object.nil? || @object[:body].nil?
      html_safe(@object[:body])
    end
  end
end

What other topics/keywords do I need to learn about binders?

Nice! You should also play around with parts:

binder :note do
  def body
    part :class do
      [:class_one, :class_two]
    end

    part :content do
      unless @object.nil? || @object[:body].nil?
        html_safe(@object[:body])
      end
    end
  end
end

I'm also curious why you need the @object.nil? check here. Would this work?

binder :note do
  def body
    html_safe(@object[:body].to_s)
  end
end