Forum: Rails deployment restful question

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
3ebe4721cbb5cdd766a76d28cb2ed86f?d=identicon&s=25 Mark P. (markp)
on 2009-08-18 01:40
So I have an index.html.erb form and I'm trying to link it to an email
form I created. I used the link below:

<%= link_to 'Email us', contact_number_path %>

now I believe the layout is something like this:

<%= link_to '    Email us'     , contact_number_path %>
            link on the page     name of form to link to? following by
the path in the route.rb file?

When I run it I get the following error

undefined local variable or method `contact_number_path' for

Extracted source (around line #53):

50: <%= link_to 'Enter Values', new_number_path %>
53: <%= link_to 'Email us', contact_number_path %>

Thanks in advance for the help
This topic is locked and can not be replied to.