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

challenge issues

SELECT * FROM actors ORDER BY name DESC; does not pass the first challenge. What's more - the results seem to be different every time I submit the same answer.

What may be the reason for such a situation?

Can you link the challenge?

2 Answers

I tried it a few times and you seem to be right: this code should pass without any issues and the results are different almost every time (it's possible the database contents are generated randomly before running the code). Please contact support (link on the right) and let them know about this issue. Link them the challenge itself and this forum question. Hopefully someone will take care of that. I will tag Chalkers just in case, maybe he can shed some light on the problem. Andrew Chalkley

Andrew Chalkley
Andrew Chalkley
Treehouse Guest Teacher

This is odd I'll contact our Code Challenge devs.

Jay McGavren
Jay McGavren
Treehouse Teacher

In the last 48 hours, we moved our code challenge tests to new hardware, and that seems to have caused a problem with our SQL-based challenges. We've just deployed a fix to our challenge testing code that should have everything working normally again.

Please let us know if you continue having trouble!

Works well now. Thanks!

Thanks for the immediate reply Maciej, you are a GEM