Finally realized two important things:
<%= yield %> inside application.html.erb's <body> tags is what shows the various HTML pages based on the action like pages#about as defined in routes.rb
<%= %> in general is what allows HTML to interplay with Ruby code