Forum: Ruby create image form selection database

28be3be213eeed3f66e0a20f1e20c7ac?d=identicon&s=25 Remco Swoany (zwaan123)
on 2007-11-04 13:39
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
909ab9f704ce61d20e0567da8dc4d487?d=identicon&s=25 Jacob Basham (Guest)
on 2007-11-07 08:45
(Received via mailing list)
A cheap hack, make a simple 1px wide image, and set the image width
based on the level.

Jake
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.