4 ms·
> For instance calling `each` on `nil` should have the effect of calling it on an empty enumerable And I thougt it was only me. I love Rails, but when I starte
by thirdsun 8y ago
> For instance calling `each` on `nil` should have the effect of calling it on an empty enumerable
And I thougt it was only me. I love Rails, but when I started learning it this was so confusing to me. Well, I understood what was happening, but I always expected an iteration or a method acting on nothing to simply return an empty result instead of an error.