1. 10 Apr, 2018 1 commit
  2. 29 Mar, 2018 3 commits
  3. 23 Mar, 2018 1 commit
  4. 03 Nov, 2017 1 commit
  5. 02 Nov, 2017 5 commits
  6. 30 May, 2017 2 commits
  7. 27 Apr, 2017 1 commit
  8. 14 Apr, 2017 1 commit
  9. 09 Mar, 2017 1 commit
  10. 07 Mar, 2017 1 commit
  11. 23 Feb, 2017 1 commit
  12. 15 Feb, 2017 2 commits
  13. 14 Feb, 2017 1 commit
    • Fixes a problem of ambiguous table names when using only_deleted method and… · 20243035
      Fixes a problem of ambiguous table names when using only_deleted method 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. https://github.com/rubysherpas/paranoia/issues/335
      
      Touch record on paranoia-destroy. Fixes #296
      
      Touch record on destroy by leveraging the paranoia_destroy_attributes.
      Applied the same to the restore-method as this eliminates the extra query.
      Thomas Romera committed
  14. 28 Jan, 2017 1 commit
  15. 12 Dec, 2016 1 commit
  16. 20 Oct, 2016 1 commit
  17. 12 Jul, 2016 1 commit
  18. 29 Jun, 2016 1 commit
  19. 08 Feb, 2016 1 commit
    • Add scope without_deleted · aa73c8f3
      Add a without_deleted scope to manually exclude paranoia-deleted records, which is essentially the paranoia_scope.
      Useful when using the option :without_default_scope or the unscoping of a paranoia-model was required.
      Aliased it to the paranoia_scope as opposed to the existing with_deleted scope.
      rbr committed
  20. 02 Feb, 2016 5 commits
  21. 29 Jan, 2016 1 commit
  22. 07 Jan, 2016 2 commits
  23. 05 Nov, 2015 1 commit
  24. 26 Sep, 2015 1 commit
  25. 15 Sep, 2015 1 commit
  26. 03 Aug, 2015 1 commit
  27. 12 Jul, 2015 1 commit
    • Add paranoia_destroy_attributes and paranoia_restore_attributes as extension points · b2b8d19e
      Use update_columns rather than touch to update the record, for
      generality
      
      Unlike touch, update_columns does not create a transaction for
      itself, so we need to add the record to the transaction, if present.
      If there is not a current_transaction, the add is a no-op.
      
      This all means that delete will not invoke a transaction or run the
      after_commit callbacks unless called from within one, which is
      consistent with the Rails docs and the behavior of
      ActiveRecord::Base#delete.
      Ben Woosley committed