-
Notifications
You must be signed in to change notification settings - Fork 529
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
Record not touched on soft destroy #296
Labels
Comments
I'm noticing this issue too, i think it might have broke with this commit? b2b8d19 It updated the updated_at column in 2.1.3, no longer in 2.1.4 |
john-griffin
pushed a commit
to john-griffin/paranoia
that referenced
this issue
May 13, 2016
Touch record on destroy by leveraging the paranoia_destroy_attributes. Applied the same to the restore-method as this eliminates the extra query.
Bump |
Hi Ben, Hoping we can see this merged in the near future. Thanks :) |
@jeffblake alright, I'll take some time to get #311 merged on in tonight. |
@BenMorganIO thanks ben! |
rbr
added a commit
to rbr/paranoia
that referenced
this issue
Jan 28, 2017
Touch record on destroy by leveraging the paranoia_destroy_attributes. Applied the same to the restore-method as this eliminates the extra query.
rbr
pushed a commit
to rbr/paranoia
that referenced
this issue
Jan 28, 2017
Touch record on destroy by leveraging the paranoia_destroy_attributes. Applied the same to the restore-method as this eliminates the extra query.
rbr
pushed a commit
to rbr/paranoia
that referenced
this issue
Jan 28, 2017
Touch record on destroy by leveraging the paranoia_destroy_attributes. Applied the same to the restore-method as this eliminates the extra query.
BenMorganIO
added a commit
that referenced
this issue
Feb 4, 2017
Touch record on paranoia-destroy. Fixes #296
thromera
added a commit
to thromera/paranoia
that referenced
this issue
Feb 7, 2017
…od and joining tables that have a scope on `with_deleted` Update homepage in gemspec The homepage is supposed to be where you can find the code. It is displayed on rubygems.org page. Currently it will redirect you back to the same page. Should point at this github repo. Update README to use proper version for Rails 5 Version 2.2.0 Ignore failures from all jruby's on travis Add explicit language about dependent: :destroy Update CHANGELOG.md update ruby and rails versions Use ActiveSupport.on_load to correctly re-open ActiveRecord::Base. rubysherpas#335 Touch record on paranoia-destroy. Fixes rubysherpas#296 Touch record on destroy by leveraging the paranoia_destroy_attributes. Applied the same to the restore-method as this eliminates the extra query.
thromera
pushed a commit
to thromera/paranoia
that referenced
this issue
Feb 7, 2017
Touch record on destroy by leveraging the paranoia_destroy_attributes. Applied the same to the restore-method as this eliminates the extra query.
thromera
added a commit
to thromera/paranoia
that referenced
this issue
Feb 7, 2017
…od and joining tables that have a scope on `with_deleted` Update homepage in gemspec The homepage is supposed to be where you can find the code. It is displayed on rubygems.org page. Currently it will redirect you back to the same page. Should point at this github repo. Update README to use proper version for Rails 5 Version 2.2.0 Ignore failures from all jruby's on travis Add explicit language about dependent: :destroy Update CHANGELOG.md update ruby and rails versions Use ActiveSupport.on_load to correctly re-open ActiveRecord::Base. rubysherpas#335 Touch record on paranoia-destroy. Fixes rubysherpas#296 Touch record on destroy by leveraging the paranoia_destroy_attributes. Applied the same to the restore-method as this eliminates the extra query.
thromera
added a commit
to thromera/paranoia
that referenced
this issue
Feb 7, 2017
…od and joining tables that have a scope on `with_deleted` Update homepage in gemspec The homepage is supposed to be where you can find the code. It is displayed on rubygems.org page. Currently it will redirect you back to the same page. Should point at this github repo. Update README to use proper version for Rails 5 Version 2.2.0 Ignore failures from all jruby's on travis Add explicit language about dependent: :destroy Update CHANGELOG.md update ruby and rails versions Use ActiveSupport.on_load to correctly re-open ActiveRecord::Base. rubysherpas#335 Touch record on paranoia-destroy. Fixes rubysherpas#296 Touch record on destroy by leveraging the paranoia_destroy_attributes. Applied the same to the restore-method as this eliminates the extra query.
thromera
added a commit
to thromera/paranoia
that referenced
this issue
Feb 7, 2017
…od and joining tables that have a scope on `with_deleted` Update homepage in gemspec The homepage is supposed to be where you can find the code. It is displayed on rubygems.org page. Currently it will redirect you back to the same page. Should point at this github repo. Update README to use proper version for Rails 5 Version 2.2.0 Ignore failures from all jruby's on travis Add explicit language about dependent: :destroy Update CHANGELOG.md update ruby and rails versions Use ActiveSupport.on_load to correctly re-open ActiveRecord::Base. rubysherpas#335 Touch record on paranoia-destroy. Fixes rubysherpas#296 Touch record on destroy by leveraging the paranoia_destroy_attributes. Applied the same to the restore-method as this eliminates the extra query.
thromera
added a commit
to thromera/paranoia
that referenced
this issue
Feb 14, 2017
…od and joining tables that have a scope on `with_deleted` Update homepage in gemspec The homepage is supposed to be where you can find the code. It is displayed on rubygems.org page. Currently it will redirect you back to the same page. Should point at this github repo. Update README to use proper version for Rails 5 Version 2.2.0 Ignore failures from all jruby's on travis Add explicit language about dependent: :destroy Update CHANGELOG.md update ruby and rails versions Use ActiveSupport.on_load to correctly re-open ActiveRecord::Base. rubysherpas#335 Touch record on paranoia-destroy. Fixes rubysherpas#296 Touch record on destroy by leveraging the paranoia_destroy_attributes. Applied the same to the restore-method as this eliminates the extra query.
karunkumar1ly
pushed a commit
to edcast/paranoia
that referenced
this issue
Feb 6, 2024
Touch record on destroy by leveraging the paranoia_destroy_attributes. Applied the same to the restore-method as this eliminates the extra query.
karunkumar1ly
pushed a commit
to edcast/paranoia
that referenced
this issue
Feb 6, 2024
…od and joining tables that have a scope on `with_deleted` Update homepage in gemspec The homepage is supposed to be where you can find the code. It is displayed on rubygems.org page. Currently it will redirect you back to the same page. Should point at this github repo. Update README to use proper version for Rails 5 Version 2.2.0 Ignore failures from all jruby's on travis Add explicit language about dependent: :destroy Update CHANGELOG.md update ruby and rails versions Use ActiveSupport.on_load to correctly re-open ActiveRecord::Base. rubysherpas#335 Touch record on paranoia-destroy. Fixes rubysherpas#296 Touch record on destroy by leveraging the paranoia_destroy_attributes. Applied the same to the restore-method as this eliminates the extra query.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I could have sworn this worked as expected (and by paranoia design) that a records
updated_at
attribute gets touched when callingdestroy
. However, thats not happening. I looked at the code, and see atouch
method call under therestore
method, but not thedestroy
method. Am I missing something?The text was updated successfully, but these errors were encountered: