= fsimple_fields_for tasks do task = render task_fields f task end 翻译成非simple_form的代码
<% f.fields_for :tasks do |task| %> <%= render "task_fields", task: task %> <% end %>
原文地址: https://www.cveoy.top/t/topic/icog 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
<% f.fields_for :tasks do |task| %> <%= render "task_fields", task: task %> <% end %>
原文地址: https://www.cveoy.top/t/topic/icog 著作权归作者所有。请勿转载和采集!