I did and it was not helpful in this case. The problem was that I was
trying to duplicate manually what fields_for does because I needed to
sort the output in a specific way (too long to explain here). Of
course I was not doing a good job. I finally discovered (from a
simpler use of fields_for that I have working) that fields_for
generates actually 2 input tags for each one of the association
records, one for the field you need and another one that is a hidden
field and I believe keeps track of the ID value of the associated
record (not very sure about that, though, I still have to check that
out). Then, as usual, I thought that it was not possible that the
framework didn't have something to take care of my needs and hit the
docs again for the nth time. I paid very close attention this time and
sure enough I found an example that could work with a little bit of a
hack to make my sorting work, and it did.
On Jul 21, 3:42 pm, Colin Law <
clan...@googlemail.com> wrote: