Help understanding scaffold generator (forms)

I’m trying to understand how the Rails scaffold generator works well
enough that I can teach in to write Markaby files. Most of the
templates were easy, but I’m having problems with the form templates.

  1. The template/form.rhtml file refers to <%= template_for_inclusion
    %>. Where does this variable come from?

  2. How do the ’

    ’ tags get generated. I don’t see
    them in any of the scaffold_generator files.
  3. What does ‘lamda(method_name)’ do?


  4. Thanks for your help,
    -Larry
    “Work, work, work…there is no satisfactory alternative.”
    — E.Taft Benson