- 26 Nov, 2014 3 commits
-
-
Regression from 6881e750 We need to be able to load our class definitions without having an available database connection.
John Hawthorn committed -
Change connect! to setup!, so that we can use connect! to give us an empty DB with no tables. Use ensure where appropriate to ensure that tests after that one can run even if it fails.
John Hawthorn committed -
This reverts commit 6881e750.
John Hawthorn committed
-
- 21 Nov, 2014 1 commit
-
-
Ryan Bigg committed
-
- 19 Nov, 2014 1 commit
-
-
raise error for acts_as_paranoid on models without primary keys
Ryan Bigg committed
-
- 13 Nov, 2014 1 commit
-
-
see https://github.com/radar/paranoia/issues/169
Braden Anderson committed
-
- 23 Sep, 2014 2 commits
-
-
Fix usage of paranoia_column in related models
Ryan Bigg committed -
refs https://github.com/radar/paranoia/issues/102
Georg Limbach committed
-
- 19 Sep, 2014 1 commit
-
-
Add compatibility info for rails4
Ryan Bigg committed
-
- 18 Sep, 2014 1 commit
-
-
Dharam Gollapudi committed
-
- 16 Sep, 2014 2 commits
- 08 Sep, 2014 1 commit
-
-
Clear association cache
Ryan Bigg committed
-
- 04 Sep, 2014 2 commits
-
-
Alexey Pokhozhaev committed
-
Alexey Pokhozhaev committed
-
- 29 Aug, 2014 1 commit
-
-
Fix RSpec 3.x deprecations
Ryan Bigg committed
-
- 28 Aug, 2014 3 commits
-
-
Emil Sågfors committed
-
Emil Sågfors committed
-
Emil Sågfors committed
-
- 26 Aug, 2014 1 commit
-
-
Reset paranoia_column before updating it. Fixes #153
Ryan Bigg 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
-
- 17 Aug, 2014 1 commit
-
-
really_destroy! and has_one associations
Ryan Bigg committed
-
- 01 Aug, 2014 1 commit
-
-
ray 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
-
- 19 Apr, 2014 1 commit
-
-
when the model has_one use class_name or foreign_key, restore use class_name or setting the foreign_key.
ray committed
-