Problem while i submit the form

<% form_for :profile,
               :url => { :action => 'privilege_assign' } do |f| %>
<label>Profile : </label>
<%= text_field_with_auto_complete :profile, :name, { :size => 24} %>

<%= submit_tag '', :class => 'SubmitButton' %>

when the user enters submit button without entering any value into the
the flash notice message will be displayed.then if he enters value
the field and he click the submit button it passes only user_id .it
doesnot passing the user_type.
it passes like below

That's normal. Forms post their contents by default and so those
parameters don't show up in the url.


Frederick Cheung wrote: