Hi, I am trying to implement the tutorial on this site. Business Name Generator - Alter … -on-Rails/
Everyone seems to be going fine except for the view for the login <!-- app/views/user/login.rhtml --> <% if @flash[:message] %><div><%= @flash[:message] %></div><% end %> <% if @flash[:error] %><div><%= @flash[:error] %></div><% end %>
<%= form_tag :action => 'process_login' %> Username: <%= text_field "user", "username" %>
 Password: <%= password_field "user", "password" %>
 <%= submit_tag %> <%= end_form_tag %>
FOr some reason I am having a nil error for <% if @flash[:message] %><div><%= @flash[:message] %></div><% end %> <% if @flash[:error] %><div><%= @flash[:error] %></div><% end %>
Is the syntax wrong?
Thanks, Kane