After upgrading 3.0.4 -> 3.0.5 one of my tests now fails on an
assertion like ‘assert !@product.destroy’.
This tests a :before_destroy callback which simply returns false to
prevent deletion. I verified that the callback is firing and haven’t
been able to locate a difference between what’s returned in the 3.0.4
and 3.0.5 source code. A console session shows destroyed? returning
false as expected.
Has this happened to anybody else? It’s a simple test so I’d expect
others to have the same result if there’s an actual problem.
Lighthouse shows a recent issue with before_destroy but it appears