From: chhenning Date: 2007-01-17T04:05:08+09:00 Subject: Problem with login example in Agile Web Development with Ruby 2nd Edition Hi all, this is the first time I'm posting to this list or all Ruby on Rails lists, at all. If I'm wrong here please let me know where the best place is to put my question. I'm doing the authentication example in the new Agile Development with Rails book. For whatever reason the user login page doesn't work. The login.rhtml looks like this:
Please Log In <% form_tag do %>

<%= text_field_tag :name, params[:name] %>

<%= password_field_tag :password, params[:password] %>

<%= submit_tag "Login" %>

<% end %>
But when trying to display this site there aren't any input fields. Seems to me the "form_tag do" does produce any html code. My Firefox browser simply shows the following page source. Admin: login

Please Log In
Does anybody know what might be wrong with my application? Any hint is very welcome. I'm in my first steps of using Ruby on Rails. Thanks ahead, Christian