gregbell/active_admin — pull request #1512 by jpmckinney (2012-07-13 20:49:46+00:00)
Title: call the inputs block the same way Formtastic does

Formtastic lets you get the current index of the child record inside an `inputs_for_nested_attributes` block. [See example](https://github.com/justinfrench/formtastic#usage) in its documentation.

This pull request fixes AA's `has_many` helper to preserve this functionality.

This would close #1447.

While you're at it, please merge #967 and #1391 (which also would close #1422).