regarding checkbox

hi guys

i have a table with fields as type(id is default) and i am using checkbox here whenever user check any of these items(high,low,medium) it should store in db.tell me how to do in rails 2.0?