Hi there
../view/trainings:
in my _form.html.erb I use a collection_select to get the id of a
worker from Worker-table.
%= collection_select(:worker, :id, @workers, :id, :first_name,
options ={:prompt = Select a worker}, :class =worker) %/div
The collection select shows correct, but
On 17 February 2011 15:42, rogi patrik.kel...@googlemail.com wrote:
Hi there
../view/trainings:
in my _form.html.erb I use a collection_select to get the id of a
worker from Worker-table.
%= collection_select(:worker, :id, @workers, :id, :first_name,
options ={:prompt = Select a
2 matches
Mail list logo