fields_for render :partial => f with new dynamic members...
- by Dmitriy Likhten
I would like to do the following:
<% f.fields_for :blind_dates do |bdf| %>
<%= render :partial => bdf %>
<% end %>
Which is cool. The problem is I want to have a link "add another blind date" which will use the same partial, but add a new one dynamically to the page.
How do I do this? Is there documentation that you have a link to?