RailsCasts Pro episodes are now free!

Learn more or hide this

Daniel Fischer's Profile

GitHub User: dfischer

Site: http://www.danielfischer.com

Comments by Daniel Fischer

Avatar

Or you can use pure CSS to highlight current page based on nested classes.

E.g, body.products > nav.item

Highlight nav.item.products when the body is also products.

Avatar

I recommend on_the_spot - Great Gem and Nathan is a badass.