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 Build a Simple Ruby on Rails Application Getting Started with Rails Create a Variable: Part 2

Ruby Objectives not working. Please help.

The forum answers I've found state that this should work. I'm really not sure what I'm doing wrong. I can't get the name variable to work either. Thanks for the help!

Error is:

Bummer! The variable 'status' doesn't exist in your code.

My code:

name = "christy"

status = "I'm on the internet."

Hi Christy, we've got a developer familiar with our Code Challenges looking into this issue now. Sorry for the frustration.

Garrett Petticrew
Garrett Petticrew
7,242 Points

I suppose this is where all of our responses should have gone, since none of them were answers. :/

Thanks for the update Scott!

8 Answers

Garrett Petticrew
Garrett Petticrew
7,242 Points

Hey Christy,

I don't have a solution for you, but I was able to recreate your issue. I also went to "Create a Variable: Part 1" and discovered that that code challenge is also not working.

It seems like the text editor is not recognizing the Ruby variable syntax. When I click the "Preview" button after submitting the code, the text editor is accepting the value of the status, but not accepting that status is the variable.

Hopefully this issue is resolved soon.

Thank you Garrett! It's nice to know that you could recreate the issue, and that it isn't with my code.

Hopefully it will be fixed soon, and I'll keep forging ahead.

Thanks!

Sean Perryman
Sean Perryman
13,810 Points

Second that, tried a bunch of different combinations including setting a displaying other variables and it isn't recognizing the status variable as being set. You can even add in "puts defined?(status)" and get a positive return value. Very weird!

Adam Burkenpas
Adam Burkenpas
23,559 Points

It seems to be broken. Is there a way to contact treehouse with this issue?

Garrett Petticrew
Garrett Petticrew
7,242 Points

Update: I sent in a support ticket for this.

Hopefully that expedites the fix.

Thanks Scott, Garrett, Sean, and Adam! I really appreciate the help!

JJ Trujillo
JJ Trujillo
15,138 Points

Please fix soon. I'm too OCD to move on...

Marie Veverka
Marie Veverka
12,117 Points

Have these challenges worked for anyone yet? I just tried again and no luck so I was wondering if anyone else is getting through them . . .

Garrett Petticrew
Garrett Petticrew
7,242 Points

Hey Marie,

I was just able to complete this challenge. Looks like this issue has been fixed.