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 trialRachelle Wood
15,362 PointsIs this a bug?
Hi all. I had a strange thing happen to me when I was practicing hashes with workspaces. I was trying to access a string value in my hash and to put its string in my console. I was using string interpolation with "#{value}" but for some reason workspaces kept commenting everything out. When I tried to get the ruby program running anyway, I got a strange syntax error. I tried typing and retyping the code but I had no luck. Anything after a # was commented out.
The only way I managed to get it to work again was to reload workspaces. Did anyone else have this issue? Was it a mistake on my end? A button I pressed? Is it a bug?
2 Answers
Jason Anders
Treehouse Moderator 145,860 PointsIf it worked when you relaunched Workspaces, I'm going to bet that it was just a glitch... I've had a couple pop up here and there.
:)
Travis Mullen
14,544 PointsHi Rachel,
I'm sure you've gotten past this by now, but I wanted to chime in on the issue. If you're doing interpolation, it's important to use double quotation marks (") rather than single quotes ('). Interpolation only works with double quotes and the Treehouse editor lets you know this by making everything after the hash mark (#) a comment.
Hope that helps!
Rachelle Wood
15,362 PointsRachelle Wood
15,362 PointsHave you had this one crop up? If so, I will be more inclined to bug report it. If not, it may be something I hit or did that made this occur.
Jason Anders
Treehouse Moderator 145,860 PointsJason Anders
Treehouse Moderator 145,860 PointsHaven't experienced that one in particular, but I haven't worked in Ruby lately. Plus, it never hurts to report possible bugs to the Support Team, so maybe shoot them off a report. :)