#2 new
jan.aerts (at gmail)

Make dependent associations in sample

Reported by jan.aerts (at gmail) | August 7th, 2008 @ 08:27 PM

The sample now has Probe, Individual and Intensity. If probes have to be reloaded (e.g. because probes.txt was updated) the probes table is made empty first. However, all data from the intensities table should be deleted as well. In ActiveRecord this can be achieved using the :dependent tag (has_many :intensities, :dependent => true). As we're using DataMapper, we will have to check first if that's available as well.

So bottom line: add that dependency to sample

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

An extension to rake that can be used to build database-backed workflows

People watching this ticket

Pages