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 trialNthulane Makgato
Courses Plus Student 19,602 PointsOutdated Treebook/house lessons
I have been on the Ruby track building Treebook, I came across a problem and after scouring the forum and found a post where the moderator advised that I should start from scratch with the old version of rails. https://teamtreehouse.com/forum/getting-this-error-message-nomethoderror-in-statusesshow
After all the hours that I have poured into this track?!?!?!?
Is not Rails 4.0 a more advanced version of 3.2? It sounds counter productive to have to downgrade, to follow the tutorial if i'm going to struggle with version 4 anyway.
Having to downgrade to version Rails 3.2 comes across as though I made a mistake or missed something in the lessons that highlighted that we must specifically use 3.2, which is not the case.
This is becoming especially frustrating because earlier in the track when we were taught bootstrap, I downloaded and synchronised the latest version of bootstrap only to struggle later on because my website didn't look like the one in the video(and not in a small way), so I had to scour forums like I am now for a solution. I found a link to an older version of bootstrap and had to start from scratch. And now I have to start all over... again? Even link next to the bootstrap video had the latest version of bootstrap v3.1.1 yet the one in the video is closer to v2.3.2.
If I start from scratch now, how do I know I won't have to do it again with some other outdated video down the line.
We have enough forum posts about Treebook inconsistencies because of bootstrap version and "attr_accessible" that are no longer relevant, that prove my argument.
Why doesn't Treehouse update its videos?
Please engage.
5 Answers
Lisa Rossiter
3,630 Pointsjust upgrade the bloody videos. We pay for treehouse it's not like its free!!
James Barnett
39,199 Points>
Is not Rails 4.0 a more advanced version of 3.2? It sounds counterproductive to have to downgrade
Not that's not correct. In the real world when running sites in production the goal is stability. So you don't try to fix things that aren't broken. Upgrading a package like Rails is a major undertaking for testing and QA. You will often work with multiple versions of various gems (that's why rvm
exists) across different projects.
Working with a known quantity is a best practice both when working from a tutorial and when developing on an existing site.
cindyk
4,055 Points"Updating videos is expensive and time consuming." -> Isn't that treehouse's business? They create, (hopefully update), and release videos and charge consumers a fee for those videos.
I also agree. I just spent almost a whole day building and troubleshooting the treebook app, just to find out that the version of Rails and Bootstrap I am using are not compatible with the tutorial. Add modifications we should take, should we be on the most recent versions, or a warning to not use any other versions.
Joshua Dance
5,067 PointsUpdating videos is expensive and time consuming. While I agree that they should update their videos as soon as possible it is understandable that it will take them a while. However, they should strongly WARN students that they should only use the version of Rails that the videos were made with.
James Barnett
39,199 Points>
However, they should strongly WARN students that they should only use the version of Rails that the videos were made with.
A thousands times agree.
Brandon Barrette
20,485 PointsI agree too. A simple warning would alleviate a lot of headaches. And the little that has changed in rails 4 is not going to be difficult to understand once you really understand rails.
Marty Hitchcock
13,108 PointsIs there a write up anywhere with instructions on how to reinstall? Installed a whole lot of things when starting the rails track.
Also, Do you need to start the treebook project from scratch as a result of this?
Kalen Loncar
8,743 PointsMarty Hitchcock , you don't need to reinstall. When you're starting a new rails project, you type the version of rails you want like so:
rails _3.2.18_ new treebook
David Wilbur
2,535 PointsI would actually recommend trying the tutorial with Rails 4 and Bootstrap 3. Sure, it would be easier if they updated the videos, but this way it forces you to actually think about what you're doing rather than blindly following the tutorial. There are really only a few differences you have to watch out for anyways. Attr_accessible doesn't work in Rails 4. You need to address these in the controller rather than the model now:
private
def status_params
params.require(:status).permit(:user_id, :content, document_attributes: [:attachment, :remove_attachment] ) if params[:status]
end
All the differences between Bootstrap 2 and 3 are outlined here.
Biggest bootstrap changes you face in the tutorial are that "span*" is now "col-md-*" and "btn" is now "btn btn-default".
James Barnett
39,199 PointsJames Barnett
39,199 PointsJason Seifer what say you about re-doing the treebook series?