form_tag not working - error with login-form from sitepoint book
i read sitepoints book "Build your own ruby on rails web applications" by patrick lenz. it seems that there is a big mistake:
At Page 244 there is the following Example-Code:
When i request this page via URL i get nothing from this partial site.
<% form_tag do %>
<p>Please log in.</p>
<%= text_field_tag 'login' %>
<%= password_field_tag 'password' %>
<p><%= submit_tag 'login' %></p>
<% end %>
If i would type some letters before "<% form_tag", they would be rendered. But all letters from up to "<% form_tag" are'nt rendered.
Please give me some hints what happenes here and how to fix this.
thank you for any help