Closed manno closed 12 years ago
Maybe do something like
after_destroy :update_event_people
in app/models/person.rb
Fixed for deleted people at least in 485cc11
Delete all dependent resources if person gets deleted.
As an alternative deleted speakers could have been handled in all views
and models where they might turn up as nil. While it may be nice to
retain this data, it's probably not worth the cost.
Handle deletion of objects in all views and controllers. Currently deleting a person throws nil exceptions all over the place. Either catch nil objects early or remove associated content on resource deletion.