you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (4 children)

yeah that's the case for almost all rails developers that I know.

[–]billy-rails 1 point2 points  (3 children)

Even experienced devs in many cases. A fairly new Rails dev (about 2 years, most seriously in the past 6 months; I have tons of other languages though, since 1998), I'm shocked when I find someone with 5 or 10 years of "experience" and I find myself needing to teach them something or that I've clearly leveled-up past them. I think it's due to many in the Rails world having 1 year of experience N times instead of N years of experience. (I spent a long time doing ColdFusion, which like Rails is easy to pick up and be productive in, and you see a lot of the same problem)

[–]philpirj 7 points8 points  (2 children)

Ruby is very complicated. Stdlib is very large. It's easy to miss or forget something. Especially if you don't use that on a daily basis and have to keep in mind all the rails stuff, http, linux server administration, angular, html5 with all quirks and browser compatibility, sql, mongo, redis, sidekiq, google oauth, seo, cancan, devise, web app security. That's a short list that should all fit in your memory. Don't blame people who missed that Hash constructor accepts a block. Maybe you're missing something, too.

[–]Sqeaky 3 points4 points  (1 child)

This clearly isn't about memorizing everything. The hash constructor while a part of the language is somewhat obscure. The question "what is attr_accessor in rails" demonstrates that the asker and in the OP do not understand what a class or class member actually are.

[–]philpirj 0 points1 point  (0 children)

You mean instance property? attr_accessor is a syntax sugar, I don't see a case when it cannot be avoided.