Joined May 2012
·
Achievements
258 Karma
38,656 Total ProTip Views
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Raven
Have at least one original repo where some form of shell script is the dominant language
Charity
Fork and commit to someone's open source project in need
Mongoose
Have at least one original repo where Ruby is the dominant language
@mrfoto That is a valid point, but in my project, the actual model I have the count and size problem is a model call
Claim
. And I usejob_seekers.count
to calculate claim amount, andjob_seekers.count
will only be used once and not called in other places, so it is a bit overkill to create countercachecolumn forjob_seekers.count
in my case. If I need to calljob_seekers.count
more than once outside Claim model, I will use counter_cache column for sureCheers