how to get the value of Collection_select in controller

this is my view code <%= f.collection_select(:user, :province_id , @provinces ,:id , :name) %> and this is my controller code

params[:user_province_id]

it is giving nothing :frowning: when i use observe field and use "params[:user_province_id]" in controller then it gives the value easily.

but when i submit the form, this collection_select gives me nothing.

i dont know what is the problem . plz n e one help me out

thanx in advance

Use:

params[:user][:province_id]