-
Notifications
You must be signed in to change notification settings - Fork 190
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
ActiveRecord queries with includes now respect :with_deleted => true #37
Conversation
@pelargir The build failed, could you look into it? |
@zzak There. |
@alexggordon still ready to be merged as far as I'm concerned. |
@vellotis Thanks for the feedback! I'm hoping to get around to this soon, sorry for such a long delay~ |
@zzak Great to hear! |
Needs a rebase |
My best regards! @zzak |
Doesn't seem to be working for me. Still including the: AND driver.deleted_at IS NULL in the sql that filters out the records when the associated field is deleted Using Want to bring up the parent record even though the driver is deleted. Can anyone confirm the fix works for them? Using 0.5.0 gem. |
@zzak This does not seem to be working for me still. Are you sure this is fixed? |
This doesn't actually seem to be fixed, have tried many combinations of scopes and |
This fixes issue #17 by ensuring :with_deleted => true is respected when using #includes and #joins in association queries. Hat tip to @tkupari for the original fix in goncalossilva/acts_as_paranoid#115