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

James Joyce
James Joyce
3,551 Points

Register and Log in are not displaying on the view

I wasn't able to get "Register" or "Log in" to display on the view. I then tried to download the code associated with this video and it is still not showing up. Any thoughts?

7 Answers

Sorry!! I got the wrong course. :smile:

The Treebook course is written in old Ruby on Rails. You can only get so far before the current Rails doesn't respond to the code in the video. I tried working round it but eventually gave up.

The whole Treehouse Rails catalogue is being updated thankfully. I'm hoping it'll be released soon.

I agree that the ODOT course was seriously tough to follow in places. I had real problems with it but managed to muddle through by getting help in the forums.

James Joyce
James Joyce
3,551 Points

"Build a simple ruby on rails app: Adding Styling" video

I was able to download the code from the step above and the register and sign are now working. However unless I change the stylesheet link tag to bootstrap (in application.html.erb file), none of the styling shows up. I asked this question before and never received a response. Any thoughts?

Hi James,

I thought the styling framework for this project was Foundation, not Bootstrap? Anyway, I hve a working version of the ODOT application on Github, here, so feel free to have a look at the code in there.

My application.html.erb doesn't mention either Bootstrap or Foundation but does contain a stylesheet link to the application.css.scss file where the imports are done for all the various styled elements of this project.

Let me know if that helps at all - I'll try to assist further if I can!

Steve.

James Joyce
James Joyce
3,551 Points

Hey Steve,

Thank you for the reply. I'm working on the "treebook" project as part of the "build a simple ruby on rails app". https://teamtreehouse.com/library/build-a-simple-ruby-on-rails-application

I was working on the odot project before but the pace of the course was too fast without enough explanation so I hopped over to this project. Unfortunately it seems like the zip file code no longer works properly.

I wish treehouse would go back through their courses and add addendums that address any deprecated or broken code in the projects.

Do you know if there is a place to report deprecated or broken code in the projects?

Thanks

James Joyce
James Joyce
3,551 Points

Thank you for the reply Steve,

Glad to hear the rails catalog is being updated. It's a bit frustrating to be paying for access to courses that do not function properly. Have you tried any Ruby on Rails courses outside of treehouse that you would recommend?

Hi James,

Yes, I have tried a couple of non-Treehouse courses. The first is the defining standard of Rails tutorials; I found it OK but am not a fan of reading from the screen so I bought the book. Again, it is hard to learn just by reading - the lack of context or inflection makes it harder to pick the topic up, I feel. It is well worth having the book, though - it is a good reference. That's here

Next up is the excellent set of screencasts from Code SChool & Envy Labs called Rails for Zombies. There's RfZ1 & 2 that you can access for free if you hunt around. I've not paid for content yet, but have really enjoyed these courses. While there's no code to work with, I just followed along and created my own whilst listening along. That really pushed me to understand the errors and issues; and taught me to use scaffolding where possible!! Give it a shot - well worth it, in my view. I'll be payig for content soon - especially their RSpec course which I hope will be useful

Shout if you get stuck; I may have come across the same issue. And make sure you use Git/GitHub - being able to roll back is very handy!

Good luck.

Steve.

James Joyce
James Joyce
3,551 Points

Thanks Steve, I appreciate the suggestions!

No problem! :+1: