- 28 Aug, 2014 3 commits
-
-
Emil Sågfors committed
-
Emil Sågfors committed
-
Emil Sågfors committed
-
- 25 Aug, 2014 1 commit
-
-
Peter Woo committed
-
- 22 Aug, 2014 3 commits
-
-
This appears to be a Rails ~> 4.0.8 bug, which is seemingly fixed in Rails 4.1.
Ryan Bigg committed -
Use fetch for sentinel_value Use DateTime for sentinel_value example Use an epoch. rails convers '0' or 0 to nil for datetime fields Add test for restore Update readme Move MYSQL note to bottom of readme update destroyed? for sentinel value
Shaun Dern committed -
This reverts commit 566b1cbd. Conflicts: README.md test/paranoia_test.rb
Aaron Jensen committed
-
- 29 Jul, 2014 1 commit
-
-
astronz committed
-
- 28 Jul, 2014 2 commits
-
-
Fixes #149
Neil E. Pearson committed -
Fixes #148
Michael Tucker committed
-
- 08 Jul, 2014 2 commits
-
-
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
-
- 25 Jun, 2014 1 commit
-
-
Fixes #138
n3bulous committed
-
- 08 Apr, 2014 3 commits
- 20 Mar, 2014 1 commit
-
-
Fixes #126
Matt Connolly committed
-
- 17 Mar, 2014 1 commit
-
-
Fixes #125
Andrew Slotin committed
-
- 11 Mar, 2014 1 commit
-
-
* Based on partial fix by @stupergenius * Handles nil case for hasOne associations Fixes #119
Dave Mayo 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
-
- 06 Jan, 2014 1 commit
-
-
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
-
- 03 Jan, 2014 2 commits
- 17 Dec, 2013 2 commits
-
-
Ryan Bigg committed
-
Fixes #91
Rémi Prévost committed
-
- 10 Dec, 2013 1 commit
-
-
Alex Koppel committed
-
- 12 Nov, 2013 1 commit
-
-
Fixes #81 Fixes #84 Conflicts: lib/paranoia.rb
alfa-jpn committed
-
- 24 Oct, 2013 5 commits
-
-
References: https://github.com/goncalossilva/acts_as_paranoid Fixes #76
Jake Quain committed -
Ryan Bigg committed
-
Ryan Bigg committed
-
Applies changes suggested in #59 which did not apply correctly
Ryan Bigg committed -
Fixes #57
delba committed
-
- 23 Oct, 2013 1 commit
-
-
Sean O'Hara committed
-
- 20 Oct, 2013 1 commit
-
-
Fixes #72
Michael Dilley committed
-
- 11 Oct, 2013 1 commit
-
-
Ryan Bigg committed
-
- 10 Oct, 2013 2 commits
-
-
Ryan Bigg committed
-
Dobaczewski committed
-
- 09 Sep, 2013 1 commit
-
-
Modelled on AR::Relation.destroy
Dan Cheail committed
-