-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delete_all with associations #27
Comments
@iffyuva Does this issue still affect you on the latest version? |
@zzak you mean on rails 4.2.4 ? |
@iffyuva The latest version of |
In fact, this seems like the current behavior from what I can see by the tests: For example: @paranoid_forest_2.paranoid_trees.order(:id).delete_all! and @paranoid_forest_1.paranoid_trees.order(:id).destroy(paranoid_tree.id) For whatever reason, we must do this. You could simplify your code to just So perhaps this could be improved in the documentation. |
As far as I can tell this problem no longer occurs. |
i have upgraded from rails 4.0.2 to 4.1.8, and i'm facing this issue with associations
is this a known issue?
The text was updated successfully, but these errors were encountered: