Re-reading my post, I realise that I made a mistake in the Course
model (only in my post, not in my actual source). It should read lilke
this:

class Course < ActiveRecord::Base
  has_many :instances, :dependent => :destroy                        #
there are no course_dates, just instances

end

class Instance < ActiveRecord::Base
  belongs_to :course
end


Sorry for the confusion.

Christian.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to