mberman84/ProjectX — Issue #20: incorrect password entry breaks site
Author: mberman84
Created: 2011-11-10 07:19:46+00:00
State: open

NoMethodError in Sessions#create

Showing /Users/beatjunkie84/Desktop/ProjectX/app/views/sessions/new.html.erb where line #33 raised:

undefined method `model_name' for NilClass:Class
Extracted source (around line #33):

30:

31:

Sign up now

32:

33:	<%= form_for(@user) do |f| %>
34:	<%= render 'signup_fields', :f => f %>
35:	<%= f.submit "Register Now", :class => "b_registernow" %>
36:	<% end %>