This bug never got me, but it is a good little ruby best practice to follow. So remember when ever using ruby collections use .length call not the .size call… Why use length on all ruby collections.



blog comments powered by Disqus
Dan Mayer Profile Pic

I primary write about Ruby development, distributed teams, & dev/PM process. The archives go back to my first CS classes during college when I was learning to write software. I contribute to a few OSS projects and often work on my own projects. You can find my code on github.

Twitter @danmayer

Github @danmayer