Re: [Rails] Re: Help needed understanding "fields_for" and resultant controller code

2010-12-29 Thread Bente Pieck
On 29/12/10 21:11, Jim Burgess wrote: Thanks for the answer Philip. It is good to get confirmation that I have understood things correctly. Yes. And it only does this if the update to @employee was successful first. Is the order particularly significant in this case (i.e. that it attempts to

Re: [Rails] Re: Help needed understanding "fields_for" and resultant controller code

2010-12-29 Thread Philip Hallstrom
> Thanks for the answer Philip. It is good to get confirmation > that I have understood things correctly. > >> Yes. And it only does this if the update to @employee was successful >> first. > > Is the order particularly significant in this case (i.e. that it > attempts to update @employee first)

[Rails] Re: Help needed understanding "fields_for" and resultant controller code

2010-12-29 Thread Jim Burgess
Thanks for the answer Philip. It is good to get confirmation that I have understood things correctly. > Yes. And it only does this if the update to @employee was successful > first. Is the order particularly significant in this case (i.e. that it attempts to update @employee first)? Obviously i