deep_cloneable icon indicating copy to clipboard operation
deep_cloneable copied to clipboard

problem with counter_cache

Open NazarK opened this issue 2 years ago • 1 comments

if association is in "include" option, counter_cache field should be in "except" option, otherwise counter_cache field is multiplied by 2 and doesnt represent actual number of associated records (maybe should be mentioned in docs or managed automatically if possible)

NazarK avatar Sep 27 '23 16:09 NazarK

Hi, thanks for the feedback! As it is part of the configuration of associations, I think I agree it should be managed automatically. Will have a look when I have the time. PRs are welcome too ;)

moiristo avatar Sep 28 '23 08:09 moiristo