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 %>


--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to