2008-11-10 selectボックスの生成 Rails 忘れていたのでメモ。 <%= f.select :group_id, Group.find(:all).collect{|p| [p.name, p.id]} %>