Is it possible to create / save a new record from a controller other
than the one I specified when I created the scaffolding?
My situation is that I have two tables. Emrecs is the parent. Actors
is the child and has a foreign key named emrec_id that references
emrec.id. I scaffolded both, creating controllers and views for each.
My app collects info from the user to fill in the two tables, then
writes the info collected out in an XML file.
Now I need to read in the XML file and put the data back into the
Any suggestions? Right now it looks like I’m going to have to open a
new REXML doc in each controller. Is that right?
Thanks in advance!