def application_view(&block)
      template = read_file('layout/application', 'haml')
      Haml::Engine.new(template).render(self, &block)
    end
def application_view(&block)
      template = read_file('layout/application', 'haml')
      Haml::Engine.new(template).render(self, &block)
    end
To keep things dry, application_view inserts HTML from a rendered
 view into the app/views/layout/application.haml file.