After more reading and much debating, I think I don't need to validate the course_id in the Instance model. Rails should take care of updating the foreign key when the parent record is saved. Good.
But then I get orphaned records when I add a new course and corresponding dates. Any clue why? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
