RailsCasts Pro episodes are now free!

Learn more or hide this

peterchchu's Profile

GitHub User: peterchchu

Comments by

Avatar

Thanks Ryan. This is so cool, I have never thought of using struct in Ruby/Rails, only in C, C++.

Also, unrelated to this. Few months ago, you sent out an email about either cutting the number of episodes/week or raising price. I can tell you that, with no hesitation, I would pay triple, even for now. Your episodes are clear, your teaching is lucid and most important of all, I like learning from you. I am more eager to see your new episodes than the new Family Guy episodes. Really thank you and keep up the outstanding work.

Avatar

Great Job, Ryan!

Can you please tell me why or what is the advantage of having your Permission class inherit from a Struct (class Permission < Struct.new(:user)), why a struct?