Adding the 'many' records

Hi All

Apologies for being so utterly helpless with Rails but I was wondering
if I could trouble you all with another question?

Lets say I have the following tables/relationships:

“course” -< “races”
“race” -< “results”
“horse” – “result”

What I have so far is the ability to add a race and when adding it I can
select from the drop down box one of the courses.

What I want to be able to do then is have that race saved but then
continue to add the horses for that race.

So: I add a race record and I then want to add the important horses in
that race.

I’ve looked for a tutorial that does the same thing but haven’t found
one. I wouldn’t know where to start with something like this so would
be grateful for some input.

If it helps at all I’ve got a link to a screencap of the current PHP
implementation here:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs