Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Ruby Foundations Ruby Core Symbols

David Grimm
David Grimm
16,169 Points

Exact same code gives error - Symbols / Ruby

I have typed the EXACT same code shown in this video and it gives me an error stating "my_file_name.rb:11: syntax error, unexpected keyword_end, expecting end-of-input"

Been at it for 45 minutes and can't figure it out. Any one else have this problem?

Also, how do I look at the Forum Discussions for this video without starting a discussion. There's no button for "Check out the Forum for this video", there's only a "Start Discussion" button. This question may have been asked and answered numerous times, but I can't see a way to get to this easily.

Thanks.

Dave

David Grimm
David Grimm
16,169 Points

OK, I capitalized the "c" in class. Everything else is the same. Wasted hour of my life! If "class" is a reserved word, why doesn't the error returned state "class should never be capitalized"? Frustrating!