I have a table: `family_children` (the model is `family_child`) where family has many children.

I get the children like this:

```
@family_children = @family.children

```

where `.children` is an association to `family_children` table.

In a view I want to iterate through the children, and put each of them in a text\_field. Of course, I need these fields as params when the page is POSTing. I.e. I think that I should get the children as an array.

How can I achieve that?

I mean, if I'll write 

```
<%= text_field 'child', 'name' %>

```

I don't really get what I need.