rails simple_nested_form_for fields_for wrong number of arguments
问题 So I'm building a form in rails 3.1, using <%= simple_nested_form_for(@person, :url => collection_url, :html=>{:multipart => true}) do |f| %> <%= render :partial => "form", :locals => { :f => f } %> <% end %> but this line in the partial is causing the problem: <h2>Badges</h2> <ul id="certifications"> // this following line is raising the error "wrong number of arguments (4 for 3)" <%= f.fields_for :certifications do |certification_form| %> <%= render :partial => 'certification', :locals => {