search for: machineserviceitems

Displaying 1 result from an estimated 1 matches for "machineserviceitems".

Did you mean: machineserviceitem
2006 Jul 13
0
Adding attributes to many through associations
...so adding the right service id. I "think" I want params filled with arrays so I can create all the objects of MachineServiceItem in my controller but I don''t know how to get it. In my head the controller looks something like this: def create for machineserviceitem in params([:machineserviceitems]) Machine.create(params([machineserviceitem]) end end Maybe... Really need some help on this one, been stuck here for some time now! :) -- Posted via http://www.ruby-forum.com/.