Create image form selection database

Hi,

I have a table degree wich is related through a join table with the user
table.
The degree has 6 options

Level 1
Level 2
Level 3
ect.

Now i want to show the levels in a imagebar…so for example if the user
has all the 6 levels the bar is totaly green.

Example check > http://www.workingwithrails.com/person/9725-remco-zwaan
below metrics

Can anyone put me in the right direction…gems…tutorials…

Grtz…remco

A cheap hack, make a simple 1px wide image, and set the image width
based on the level.

Jake