Skip to content

Instantly share code, notes, and snippets.

Created March 14, 2013 22:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5165745 to your computer and use it in GitHub Desktop.
Save anonymous/5165745 to your computer and use it in GitHub Desktop.
NoMethodError in Home#index
Showing c:/sites/****/app/views/layouts/_login.html.erb where line #20 raised:
undefined method `new_user_registration' for #<#<Class:0x630eaa8>:0x6f2aea0>
Extracted source (around line #20):
17: <% end %>
18:
19:
20: <%= link_to "New", new_user_registration() %>
Trace of template inclusion: app/views/layouts/application.html.erb
Rails.root: c:/sites/****
Application Trace | Framework Trace | Full Trace
app/views/layouts/_login.html.erb:20:in `_app_views_layouts__login_html_erb___608765164_60594708'
app/views/layouts/application.html.erb:34:in `_app_views_layouts_application_html_erb___840834478_51920532'
Request
Parameters:
None
Show session dump
Show env dump
Response
Headers:
None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment