Ruby on rails

how to show a cloumn in dropdown box and the selected field of the
dropdown box should save in another table

thank you