Of course I’m not sure what the :action => ‘update’, :id => @id,
:addperson_id => p.id is in there for. This should be elsewhere in the
form
surely.
HTH
Daniel
Yes. That was a hasty cut and paste by me.
I ended up taking it out after I posted the message.
I will try your solution. It looks like the @people - @team part means
that you subtract anybody who is in @team from @people, right?
Yes. The association collections that AR returns are delegated to Array. So normal array operations mostly work.
Also not
sure what those asterisks are doing. But I will look it up in the API if
I can find it.
Not sure what asterisks you mean. I don’t see any.