Article:
  Rolling with Ruby on Rails, Part 2
Subject:   recipe def edit
Date:   2006-03-16 05:57:06
From:   curth
Response to: recipe def edit

Yes, this capability is actually built in to Rails. You want to look at a helper function called "collection_select". You can read about it here:


http://wiki.rubyonrails.org/rails/pages/HowtoUseFormOptionHelpers