activerecord-delay_touching
activerecord-delay_touching copied to clipboard
Failing test for polymorphic association touches while before_save raises
The test does not fail but starts an infinite loop which updates the persons
updated_at
where id
is NULL
Encouter this one too. Would you accept a PR trying to fix this bug ?
HI @Icoq and @bobbus. Apologies for not responding sooner. We absolutely do accept PRs fixing issues. My only feedback here is that the Spec should also be finite, meaning it can check something like expect(something).to receive(:some_method).exactly(n).times
. I'm sure the spec included here is just to demonstrate that an infinite loop is occurring, but wanted to call this out just to make sure we're on the same page.
Appreciate any help on tackling this!