- 22 Aug, 2014 1 commit
-
-
This reverts commit 566b1cbd. Conflicts: README.md test/paranoia_test.rb
Aaron Jensen committed
-
- 17 Aug, 2014 1 commit
-
-
really_destroy! and has_one associations
Ryan Bigg committed
-
- 29 Jul, 2014 1 commit
-
-
astronz committed
-
- 28 Jul, 2014 5 commits
-
-
Ryan Bigg committed
-
Fixes #149
Neil E. Pearson committed -
Fixes #148
Michael Tucker committed -
I am tired of supporting Rubinius. I don't use it, nor know of anyone who uses it. Every damn month it breaks on Travis in some new and brilliant way and I don't have the time or energy to support it. If people truly care about it, then *they* can support it.
Ryan Bigg committed -
The `acts_as_paranoid` gem (v0.4.1) uses assignment followed by a call to `#save` for restoring a record: # in #recover run_callbacks :recover do recover_dependent_associations(options[:recovery_window], options) if options[:recursive] self.paranoid_value = nil self.save end This runs any `update` callbacks as well as `recover` callbacks. Paranoia uses `#update_column` instead of `#save`, so no `update` callbacks are run when restoring a record. With this commit the difference in behavior is described in the section "Acts As Paranoid Migration" of the README. Fixes #134
Dario Hamidi committed
-
- 08 Jul, 2014 4 commits
-
-
Fixes #143
Martin Sereinig committed -
touch_paranoia_column before really_destroy!-ing a record in rails 4.1.x. reloading already really_destroy!-ed associations is needed, otherwise super.destroy! will try to destroy these asociations (because they still exist on the activerecord object, but are already removed from the database) Fixes #143
Martin Sereinig committed -
FIX: reflections have been reworked in rails 4.1.2 - reflections is no longer available on activerecord objects, only on the class. Fixes #143
Martin Sereinig committed -
Fixes #143
Martin Sereinig committed
-
- 25 Jun, 2014 2 commits
- 13 Jun, 2014 1 commit
-
-
Removed deprecated assert_nothing_raised from test.
Matthew Jording committed
-
- 10 Apr, 2014 1 commit
-
-
Ryan Bigg committed
-
- 08 Apr, 2014 4 commits
- 30 Mar, 2014 2 commits
-
-
Minor changes to make it more slightly readable
Ryan Bigg committed -
Kurtis Rainbolt-Greene committed
-
- 20 Mar, 2014 1 commit
-
-
Fixes #126
Matt Connolly committed
-
- 17 Mar, 2014 1 commit
-
-
Fixes #125
Andrew Slotin committed
-
- 11 Mar, 2014 2 commits
-
-
* Based on partial fix by @stupergenius * Handles nil case for hasOne associations Fixes #119
Dave Mayo committed -
David Piegza committed
-
- 17 Feb, 2014 2 commits
- 15 Feb, 2014 1 commit
-
-
dsandstrom committed
-
- 13 Feb, 2014 1 commit
-
-
Rene van Lieshout committed
-
- 30 Jan, 2014 1 commit
-
-
Rails normally returns the model on successful destroy and false if any callback fails. Fixes #104
Vincent Bonmalais committed
-
- 16 Jan, 2014 1 commit
-
-
Ryan Bigg committed
-
- 09 Jan, 2014 1 commit
-
-
Fixes #95
Washington Luiz committed
-
- 08 Jan, 2014 1 commit
-
-
destroy! now once again calls destroy
Ryan Bigg committed
-
- 06 Jan, 2014 2 commits
-
-
This is because destroy! is called by :dependent => :destroy association definitions (yes, destroy! and not destroy), which means that associated records of a paranoid object would suddenly go missing... making it very hard to restore them! So instead, it's now called really_destroy! and destroy! is just an alias for destroy once again
Ryan Bigg committed -
[ci skip] Fixes #97
Geoffrey Roguelon committed
-
- 03 Jan, 2014 4 commits