Accessing parameter for password_field

If I have a form in a view (below) shouldn't I be able to access the password field in the corresponding controller with params [:password] ? -RVince

<% title "Login" %> <% form_for @associate_session do |f| %>   <%= f.error_messages %>   <p>   <br/><br/>     <%= f.label :username %><br />     <%= f.text_field :username %>   </p>   <p>     <%= f.label :password %><br />     <%= f.password_field :password %>   </p>   <br />   <%= f.check_box :remember_me %>   <%= f.label :remember_me %><br />   <br />   <% session['fromlogin'] = 1 %>   <p><%= f.submit "Submit" %></p> <% end %>

If I have a form in a view (below) shouldn't I be able to access the password field in the corresponding controller with params [:password] ? -RVince

no. it will be params[:something][:password]. Take a look at your development log to see how parameters are being sent.

Fred