Slider control > based on values of table

Hi this is my table structure:

create_table "items", :force => true do |t|
    t.string "name", :limit => 30
    t.integer "quantity", :default => 0, :null => false
    t.integer "price", :default => 0, :null => false

I have a simple table in my index view shows the values of this table.

def index
    @items = Item.find(:all)

Now i want to use a slider control ( based on the
values of columnname's > "quantity" and "price".

has someone examples of a some rails code of links ??