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

These Rails tutorials do not seem to be up to date.

I'm getting very frustrated. This is the third time I've tried to go through the "building a simple web application with Rails" series and, for the third time, it does not seem to work for me like it works on the videos. I don't know if it's that the videos are outdated, but it just doesn't work like shown in the video.

3 Answers

Colton hang in there my man.

I think I've probably thrown more tantrums trying to learn this stuff than most of the 2 years out there. I swear this stuff is like a constant assault on my self esteem. But it's cool, challenging work, and so much fun. The frustrations will never go away because as you keep learning this stuff you'll keep doing more complicated and bad ass things on a different level. I wish someone had said this to me early on but work on getting really good at getting unstuck. Part of that means being able to handle the many many frustrations that lie ahead and sometimes it means closing the computer and going for a run.

I think you're right that course might be outdated. They should maybe put a flag of that if they don't already in the show notes.

Can you check your Gemfile and see what version of the rails gem you have?

After that, pull up one of the videos from that course and check what version of the rails gem they are using is. There are some big difference between rails gem 3.x.x and 4.x.x.

Are those versions different?

I also might recommend starting with this course http://teamtreehouse.com/library/build-a-todo-list-application-with-rails-4

Or, make sure you have the exact same version of everything in the video you're working on. But I would recommend starting with the todo list app above.

That project is outdated, that is why it was removed from the Rails Track and replaced by Todo Application project. If you want to build treebook app, you need older version of Rails (3.2) and some of the gems OR use virtual machine dedicated for this project (Treehouse offers these) OR try to translate this into Rails 4.

I don't know if it's that the videos are outdated, but it just doesn't work like shown in the video.

Treehouse courses are just like books you buy off Amazon, the material is written against a particular version.

If you want to make things easy on yourself always use the same version of the software as is being demonstrated in a tutorial. If you are more adventurous, use the most current version and try and figure out how to translate it yourself.