Get to Know Your Self

Meg Gutshall on September 20, 2018

While Ruby is an incredibly user-friendly language, it’s not without its conundrums—one in particular: self. self is a Ruby keyword, or a word sp... [Read Full]
markdown guide

Love the self.all method! It's like self-made (get it?) version of the Rails Model.all. Makes me wonder what the Rails implementation is like.


For some reason I’ve always felt self to be quite intuitive even though I logically agree with all the weird things.

I always had way more hangups with, say, JS’s this.


I was just thinking about that today! I have very basic knowledge of JS and remember learning about this and not getting it at all. I'm hoping my understanding of Ruby's self with help when I get to JS's this in the Flatiron curriculum.

code of conduct - report abuse