Ad Richards wrote: > Everything is now working and I am able to edit the grades inline using > super inplace controls from > http://os.flvorful.com/super_in_place_controls. > > However, I have realised that when I create a new assignment a > corresponding field for the grade is not automatically created in the > join model. > > Is something wrong with my model associations?
How does the new assignment know which students it applies to? I assume that there is something else (like a Course) that the assignment belongs to, to which the students are related as well... When you create a new assignment for a course, that action should be the one to walk the list of students in the course and create the gradations to link its students to the new assignment. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

