class ActionView::Helpers::FormBuilder

def nested_child_index(name)

def nested_child_index(name)
  @nested_child_index[name] ||= -1
  @nested_child_index[name] += 1
end