update on a m:n table

I dont like this way, but this is my answer :

for sample in user.conditions    sample.date_deleted = DateTime.now end

but it will hurt your AR or database because it will connect to database for each looping. Maybe another have lovely solution.

Reinhart http://teapoci.blogspot.com