loading...

re: Rails 5.2.x --> Rails 6 counter_cache Gotcha VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thanks for the insight! Incidentally, apart from this precise case, I have never been able to decide when it is better to pass ActiveRecord an id,...
 

Totally agree! It's the one mystery of this change that I really want to investigate - because it's just not clear to me which to use when - and you're right, it's a decision we have to make in many other instances.

Code of Conduct Report abuse