I’m newish to rails, and scaffolding generates form elements like this:
<%= f.label :completed_at %>
and the form helper documentation for rails talks about them in a different form, as functions:
<%= label( :giveaway, :completed_at, "Closing Date", :class => "control-label" ) %>
Where can I find the documentation for the former? is there a name for this version of a form helper?
<%= f.label :completed_at %>refers to itemfduring the iteration through aform builderobject<%= label( :giveaway, :completed_at, "Closing Date", :class => "control-label" ) %>is a static method aka “form helper” method used to generate any label on the fly, not necessarily in the context of a form builder object