Topic: Bootstrap pills

I'm currently using Twitter bootstrap in development for a class project.  I have each page divided into a links section (first 1/3rd) and then the main content of that page.  The links page is always the same and code only written once.  I want to use the bootstrap pills (http://twitter.github.com/bootstrap/components.html) to show where the current page is. 

How do I implement this given that I cannot simply write 'active' on each different page but have to use variables (or rails in some way) to update the quick links section?

If any code is necessary, it won't be a problem.

Thanks!

Re: Bootstrap pills

maybe https://github.com/andi/simple-navigation with https://github.com/pdf/simple-navigation-bootstrap will be helpful?