I just started working with a new company and have been trawling through the codebase as you do. And I came across the behavior listed in the title that symbols don’t have a method size within the Rails console. I’ve been on this wild goose chase for the last week reading through the source code of various gems etc. trying to figure out if it was Ruby version thing, something in my companies code base, or what.
I eventually tracked it down to, I believe, the rails console, but in going through the rails source code I haven’t been able to find any reference to Symbol.size.
Wondering if anyone here could provide context for whether I’m way off and, if I’m not, why the decision was made.
thanks in advance.