TIL about using counter_cache in rails to save association's count in parent model

by @rinas

I had used counter_cache in the past but still had to look it up :D

Here is the SO answer that helped: https://stackoverflow.com/a/16996960/3098242

-

Regarding privacy concerns, it's simple - we don't sell your data. In fact, we try to use privacy-focused software/services like Fathom Analytics whenever we use any third-party services.