-
Fixes `really_destroy!` behavior with `sentinel_value` · 97623f17
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
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
paranoia | Loading commit data... | |
paranoia.rb | Loading commit data... |