I thought that processing the form data was a simple matter of
referencing params[:password] - but that is a nil value. It appears to
me that the password post data is within a hash within the hash. The
data is there, but the reference form is unclear.
What is the correct reference to the post data? e.g. how do I reference
the :password field?
well you can access that information from params[:admin][:password]
the admin hash is because you probably put in your form like this <%
= password_field “admin”, “password” %> or in a form_for construct…
Jason,
Thanks.
The params field is a tad more involved (in a very good way) than it
appears on the surface. The data is there, but the referencing needs to
be done in the right way.
I never cease to be amazed at the willingness of the people here to help
people come up on rails. I do appreciate the help and promise to do my
homework.