Dennis Hackethal’s Blog
My blog about philosophy, coding, and anything else that interests me.
Tweet
This mirrored tweet of mine may be formatted slightly differently than on Twitter.
This is an older tweet. I don’t necessarily endorse it anymore.
Dennis Hackethal
I'm no expert on these methods but I think you mean to say that 'size' runs a COUNT query if the records are NOT loaded.
From apidock.com/rails/ActiveRe…:
If the collection has been already loaded size and length are equivalent.
What people are saying
Below comments were posted on this blog, not on Twitter.