In an old thesis, I found a ruby method that looks like this:
get "/test" do
# Render an html form
<<-HTML
<html>
<!--just some code here-->
</html>
HTML
end
The method directly renders an html form without making any calls to an erb file. Is this typically a valid way to do it? I haven't found a single tutorial online that demonstrates it like this. Every source that I've looked at talks about erb.