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

General Discussion

Rails info outdated?

I'm noticing some of the lectures are teaching outdated methods such as using attr_accessor in rails. How can I learn the most current ruby on rails stuff (since I'm sitll a noob) or should I just go through the track and it will correct itself in future lessons?

They are not outdated per se, they use Rails 3.2 which will still power many web applications out there. So it would be good to do the course with that version then move on to the newer content with Rails 4. This way if you were to get a job on an existing project using older versions of Rails then you wouldn't be stumped as to how it worked.

Also it would be impractical to update the videos every time a new version came out as the staff would have no time to create new content, due to the fast nature of the technology changing. They do have several courses using Rails 4. Like the Todo List course and the User Authentication courses.

The Treebook one is a very long course and will give you a good understanding of Rails, once you have completed this you could look at building it again with the new processes like strong params instead of attr_accessible.

So to answer your question you should go through on Rails 3.2.

Hope this clears it up for you :)

Thanks, I've learned rails 3.2 already a few months ago so I guess I'll just take a quick review and continue to the 4.0, it's really the more complex rails functionality I'm after

1 Answer

I agree with Adam Sackfield. Either do just the Rails 4 courses or do the Treebook app using rails 3.2

I'm still developing my site using rails 3.2 because I don't have the time to update to rails 4, but at the same time I'm learning rails 4 so it will be easier to do when that time comes.