参数数量错误(4 对 3) 提取的源(在 # 行附近):
enter code here
<%= f.text_field :name %>
# <%= f.fields_for :tasks do |task_form| %>
<%= task_form.text_field :fname %>
<%= task_form.link_to_remove "Remove this task" %>
<% end %>
参数数量错误(4 对 3) 提取的源(在 # 行附近):
enter code here
<%= f.text_field :name %>
# <%= f.fields_for :tasks do |task_form| %>
<%= task_form.text_field :fname %>
<%= task_form.link_to_remove "Remove this task" %>
<% end %>