I seem to be having an odd problem with the login page html on page 240. I've downloaded the code archive and checked the latest errata but still doesn't work, I don't know if there is an error in my controller that might be causing it?
The odd thing is the form isn't showing at all. I am getting the application html (header, footer, layout etc) but no login form is being displayed. Here's my code, if anyone has any suggestions I'd be very greatful!
<% form_tag do %>
<p>Please log in.</p>
<%= text_field_tag 'login' %>
<%= password_field_tag 'password' %>
<p><%= submit_tag 'login' %></p>
<% end %>
class AccountController < ApplicationController
@current_user = User.find_by_login_and_password(params[:login], params[:password])
session[:user_id] = @current_user.id
redirect_to :controller => 'story'