[Rails] Re: how to get the value of Collection_select in controller

2009-02-15 Thread Hamid Raza
Maurício Linhares wrote: > Use: > > params[:user][:province_id] > > - > Maur�cio Linhares > http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ > (en) > > > > On Sun, Feb 15, 2009 at 9:40 AM, Hamid Raza Thanks a lot Maurício Linhares. It worked for me :) -- Posted via

[Rails] Re: how to get the value of Collection_select in controller

2009-02-15 Thread Maurício Linhares
Use: params[:user][:province_id] - Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) On Sun, Feb 15, 2009 at 9:40 AM, Hamid Raza wrote: > > this is my view code > <%= f.collection_select(:user, :province_id , @provinces ,:id , :name) > %> > and th