Open JeremiahChurch opened 7 years ago
Do you know if this is still in an issue in 2.2?
Do you have any rails callbacks doing anything? They could be calling an update
or something onto an already deleted record.
Yes - still an issue with 2.2 - reproduced with the head of 2.2 - commit 'f960e52'.
same behavior with all callbacks disabled on both models (no related callbacks anyways.)
I'd be happy to put together a minimal test case app if that would be helpful?
We stumbled across a case in our production environment that we haven't seen before. When calling a
destroy
operation we're seeing a validation failure that prevents the destroy operation from completing.In reading the rails docs and poking around it's my understanding that the destroy operation doesn't normally run any validations. I was expecting the destroy operation to succeed and the deleted_at column to be set but not validations to be run.
any help would be greatly appreciated!
paranoia 2.1.5 rails 4.2.7.1 on ruby 2.2.5