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

Some problems with the tutorials

Hello there!

I have detected some problems with the videos, the main one is that the video for Before Filters is not loading. It may be just for me, but all the other videos were loading.

The rest of the problems have to do with some errors in the content. There are minor problems in the instructions of the Ruby project, I wasn't keeping track of them, but there are some major problems that can be difficult to solve:

  • Validating Uniqueness: The problem (~2:10) is not that the other fields are empty, the assertion is that the errors array for profile_name should not be empty and it is. That's why it's failing on line 26. The rest of the video is fixing a problem that it's not really relevant.
  • Fixtures: The error at ~1:30 is because the fixture is using the fields "password" and "password_confirmation" when it should be using "encrypted_password" or no field at all for password. You can even see the error message "table users has no column named password" on the video. It doesn't say it's on line 32 and, in fact, there are 4 errors, one for each test. People can get stuck here because this problem is never solved. Adding uniqueness would only make sense if you actually pass the test with the same profile_name as another registered user and the screen with no errors after adding uniqueness is not what you get when you do it on your own.
  • Validating format: The regex is wrong, it should be something like /\A[a-zA-Z0-9-_]+\Z/. The format test obviously fails, but only because with the regex used you can only have 1 character profile_names. At the end of the video, even though the profile_name is well formatted, one of the error messages is that it is not well formatted.

And I cannot remember any other problems I encountered.

Hope this helps.

4 Answers

Thanks so much Juan! We'll notify Jason and have him address those concerns. Really appreciate the help :)

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hi, Juan! We'll look in to these and get them fixed. Thanks!

I was going crazy with similar issues (and it appears Tessa who recently posted in the forums here is as well)

Glad to see some response here, and glad there are some forums now!

I'm glad it was helpful. Sometimes this things can be really cryptic, especially if you are new to development or web development.