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

chris salvi
chris salvi
7,584 Points

Please help troubleshoot rails app!

I am doing the Treebook track on the site, but for some reason I am encountering errors that prohibit me from even seeing the site when I run it locally on the server.

Granted, I am running the latest versions of rails and ruby, and I know that this video was recorded long before they released, but I dont think this is the issue. Please see attached below.

Also, as a general advice, I'd like more teacher notes updating projects that are old and outdated. Either solutions for newer editions in the notes or some type of indication that things may not work as well would be a HUGE help, and not very many videos use this yet :(

1 Answer

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

You don't have to use javascript for hovering over objects, just use CSS pseudoclass for that:

http://www.w3schools.com/cssref/sel_hover.asp

https://developer.mozilla.org/en-US/docs/Web/CSS/:hover

Try that and remove the coffeescript code you linked, see if that helps.

chris salvi
chris salvi
7,584 Points

so would I use

.status.hover( //code )

or

.status:hover{ //code }

????

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

.status:hover { //code }

Should work fine and apply the ///code style when you hover over with your mouse.