rails/rails — pull request #4205 by jcoleman (2011-12-27 16:41:04+00:00)
Title: Allow accessing the current nested index for a form builder.

When using field_for_nested_attributes, you should be able to access the current auto-generated nested index so that you can embed it in a view for use by JS.