Skip to content

Instantly share code, notes, and snippets.

@cherring
Created February 25, 2010 04:20
Show Gist options
  • Save cherring/314229 to your computer and use it in GitHub Desktop.
Save cherring/314229 to your computer and use it in GitHub Desktop.
And I press "login-button"
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.each
<fieldset id="options">
<p><%=link_to "Forgot Password?", {:controller => "auth", :action => 'password_recovery'} %></p>
<%= image_submit_tag "buttonLoginGo.jpg", :id => "login-button" %>
<p><%= link_to "New User?", :action => 'new_user' %></p>
</fieldset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment