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.
The template/form.rhtml file refers to <%= template_for_inclusion
%>. Where does this variable come from?
How do the ’
’ tags get generated. I don’t see
them in any of the scaffold_generator files.
What does ‘lamda(method_name)’ do?
Thanks for your help,
“Work, work, work…there is no satisfactory alternative.”
— E.Taft Benson