why doesn’t this work
items.destroy if items = find(:all, :conditions => …)
right now i have this that works, but it seems ugly and inefficient.
if items = find(:all, :conditions => …)
items.each do |item|
item.destroy
end
end
there must be a better way