- 29 Dec, 2015 1 commit
-
-
Emanuel Evans committed
-
- 28 Dec, 2015 1 commit
-
-
Fixes https://github.com/rubysherpas/paranoia/issues/274 It looks like ActiveRecord refactored the Transaction class hierarchy in a non-backwards-compatible way (https://github.com/rails/rails/pull/16363), which breaks `add_to_transaction` for null transactions (I think it probably qualifies as a bug). The workaround is to not try to use `add_to_transaction` in null transactions.
Emanuel Evans committed
-
- 16 Nov, 2015 2 commits
-
-
We're still looking for people to help, but a maintainer now exists
Kurtis Rainbolt-Greene committed -
Kurtis Rainbolt-Greene committed
-
- 15 Nov, 2015 2 commits
- 12 Nov, 2015 1 commit
-
-
Touching record when restored.
Ryan Bigg committed
-
- 05 Nov, 2015 1 commit
-
-
Ryan Bigg committed
-
- 28 Oct, 2015 1 commit
-
-
Leonardo Alifraco committed
-
- 03 Oct, 2015 1 commit
-
-
Using guard clauses.
Ryan Bigg committed
-
- 26 Sep, 2015 1 commit
-
-
Leonardo Alifraco committed
-
- 16 Sep, 2015 1 commit
-
-
Simplify description in README
Ryan Bigg committed
-
- 15 Sep, 2015 2 commits
-
-
I had a hard time comprehending the old wording. I think this is easier to read.
Zeke Sikelianos committed -
Diego Aguir Selzlein committed
-
- 26 Aug, 2015 2 commits
-
-
Simplify test setup
Ryan Bigg committed -
* Rely on bundler/setup to setup the load paths
Mauro George committed
-
- 04 Aug, 2015 1 commit
-
-
Fixed issue #258: uniqueness validator now works with custom active c…
Ryan Bigg committed
-
- 03 Aug, 2015 1 commit
-
-
Amit Aharoni committed
-
- 14 Jul, 2015 1 commit
-
-
Introduce #paranoia_destroy_attributes and #paranoia_restore_attributes extension points
Ryan Bigg committed
-
- 12 Jul, 2015 2 commits
-
-
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 -
Ben Woosley committed
-
- 01 Jul, 2015 3 commits
-
-
Fix uniqueness validator for non-paranoid associations
Ryan Bigg committed -
Marcus Ilgner committed
-
real_destroy callback
Ryan Bigg committed
-
- 30 Jun, 2015 1 commit
-
-
Nikolay Norkin committed
-
- 22 Jun, 2015 1 commit
-
-
Fix for #122, #121 and #175 on Rails 4 branch
Ryan Bigg committed
-
- 21 Jun, 2015 2 commits
-
-
Ruby 1.9's version of `Object.const_get` does not support namespaced constants, so this commit replaces it with `ActiveSupport`'s `#constantize` method. The tests were failing running JRuby on 1.9 mode. CRuby was not failing because it is not tested against 1.9.
Sammy Larbi committed -
Sammy Larbi committed
-
- 18 Jun, 2015 2 commits
-
-
Fixes #114
Sammy Larbi committed -
Sammy Larbi committed
-
- 17 Jun, 2015 3 commits
- 16 Jun, 2015 1 commit
-
-
Use association.klass.name instead of association.class_name to get the namespaced class name and therefore prevent: `Object.get_const(association_class_name)` from raising "uninitialized constant ParanoidHasOne" in the following situation: module Something def self.table_name_prefix "something_" end class ParanoidHasOne < ActiveRecord::Base acts_as_paranoid has_one :paranoid_belongs_to, dependent: :destroy end class ParanoidBelongsTo < ActiveRecord::Base acts_as_paranoid belongs_to :paranoid_has_one end end hasOne = Namespaced::ParanoidHasOne.create hasOne.destroy hasOne.restore(:recursive => true) # previously would explode
Landon Wilkins committed
-
- 08 Jun, 2015 1 commit
-
-
add GoRails video to readme documentation
Ryan Bigg committed
-
- 29 May, 2015 1 commit
-
-
Jared Smith committed
-
- 18 May, 2015 2 commits
-
-
Fix typo
Ryan Bigg committed -
Yusei Yamanaka committed
-
- 11 May, 2015 1 commit
-
-
partial indexes advice
Ryan Bigg committed
-
- 09 May, 2015 1 commit
-
-
Yann Hourdel committed
-