diff --git a/lib/acts_as_paranoid/core.rb b/lib/acts_as_paranoid/core.rb index 2855d5b..1f3a878 100644 --- a/lib/acts_as_paranoid/core.rb +++ b/lib/acts_as_paranoid/core.rb @@ -205,7 +205,7 @@ def destroy_paranoid_associations self.class.dependent_associations.each do |reflection| if reflection.klass.paranoid? dependent_type = reflection.options[:dependent] - association_scope = association(reflection.name).association_scope + association_scope = association(reflection.name).association_scope.where(self.class.paranoid_column => nil) if dependent_type == :destroy association_scope.each do |object| object.send(reflection.options[:dependent])