- 16 Dec, 2020 1 commit
-
-
Rebecca Le committed
-
- 11 Dec, 2020 1 commit
-
-
Calling `<<` to an ActiveModel::Errors message array in order to add an error is deprecated. Please call `ActiveModel::Errors#add` instead.
Jörg Schiller committed
-
- 28 Nov, 2019 2 commits
-
-
Ashwin Hegde committed
-
Ashwin Hegde committed
-
- 26 Apr, 2019 1 commit
-
-
John Hawthorn committed
-
- 22 Apr, 2019 1 commit
-
-
We are trying to test our application on rails 6.0.0.alpha but we can't install this because of the version lock Probably this will be helpful that we can try and report any issues with edge rails
Anton Kolodii committed
-
- 10 Apr, 2018 1 commit
-
-
John Hawthorn committed
-
- 29 Mar, 2018 3 commits
-
-
John Hawthorn committed
-
John Hawthorn committed
-
John Hawthorn committed
-
- 23 Mar, 2018 1 commit
-
-
Bartosz Bonisławski committed
-
- 03 Nov, 2017 1 commit
-
-
John Hawthorn committed
-
- 02 Nov, 2017 5 commits
-
-
This removes the assumption from `really_destroy!` that there is only one column value, the deletion date, that needs to be updated on a model that is being `really_destroy!`ed. Instead, use the defined `paranoia_destroy_attributes` as they are used in `destroy` and other calls. This prevents an issue where the DBMS will complain when trying to `really_destroy!` one of these models, given that paranoia is attempting to insert a DateTime value into a boolean (or otherly- typed) column. Fixes #326
Steve Rice committed -
John Hawthorn committed
-
This makes paranoia's code itself more explicit.
John Hawthorn committed -
This should help users be more explicit about what action they want to perform. My hope is that this will also make it easier to migrate off of paranoia.
John Hawthorn committed -
John Hawthorn committed
-
- 30 May, 2017 2 commits
-
-
This `defined?(super)` check was introduced for Rails 4.1 support https://github.com/rubysherpas/paranoia/pull/390#issuecomment-284819747 but we've stopped supporting Rails 4.1 already https://github.com/rubysherpas/paranoia/pull/393#issuecomment-289227091
Akira Matsuda committed -
Akira Matsuda committed
-
- 27 Apr, 2017 1 commit
-
-
John Hawthorn committed
-
- 14 Apr, 2017 1 commit
-
-
Ben A. Morgan committed
-
- 09 Mar, 2017 1 commit
-
-
Chris Oliver committed
-
- 07 Mar, 2017 1 commit
-
-
Edward Poot committed
-
- 23 Feb, 2017 1 commit
-
-
John Hawthorn committed
-
- 15 Feb, 2017 2 commits
-
-
Ben A. Morgan committed
-
Andrzej Piątyszek committed
-
- 14 Feb, 2017 1 commit
-
-
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
-
- 28 Jan, 2017 1 commit
-
-
Touch record on destroy by leveraging the paranoia_destroy_attributes. Applied the same to the restore-method as this eliminates the extra query.
rbr committed
-
- 12 Dec, 2016 1 commit
-
-
Use ActiveSupport.on_load to correctly re-open ActiveRecord::Base. https://github.com/rubysherpas/paranoia/issues/335
Iaan Krynauw committed
-
- 20 Oct, 2016 1 commit
-
-
John Hawthorn committed
-
- 12 Jul, 2016 1 commit
-
-
Ben A. Morgan committed
-
- 29 Jun, 2016 1 commit
-
-
David Verhasselt committed
-
- 08 Feb, 2016 1 commit
-
-
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
-
- 02 Feb, 2016 5 commits
-
-
John Hawthorn committed
-
Just for consitency. alias_method is easier to reason about than only_deleted.
John Hawthorn committed -
In rails 4.x this passed around a set of arel conditions, in rails 5 it passes around an AR::Relation and uses where(). See rails/rails@5f521cbff3c8a46cfc8e16b234294a20c285d00d
John Hawthorn committed -
Claessens Simon committed
-
alias defines these on ActiveRecord::Base itself, which is not what was intended. This behaviour previous differed between MRI and jruby.
John Hawthorn committed
-
- 29 Jan, 2016 1 commit
-
-
Weston Ganger committed
-
- 07 Jan, 2016 1 commit
-
-
John Hawthorn committed
-