Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8381935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:48:32+00:00 2026-06-09T16:48:32+00:00

I just started using devise today and i modify session#new.html.erb file to fit my

  • 0

I just started using devise today and i modify session#new.html.erb file to fit my needs. I created a link called Register has follow

<%= link_to "REGISTER", "new_customer_registration_path" %>

However when i click on the link it direct me to a no route errors

Routing Error
No route matches [GET] "/customers/new_customer_registration_path"

Here my rake routes

        new_customer_session GET    /customers/sign_in(.:format)         devise/sessions#new
            customer_session POST   /customers/sign_in(.:format)         devise/sessions#create
    destroy_customer_session DELETE /customers/sign_out(.:format)        devise/sessions#destroy
           customer_password POST   /customers/password(.:format)        devise/passwords#create
       new_customer_password GET    /customers/password/new(.:format)    devise/passwords#new
      edit_customer_password GET    /customers/password/edit(.:format)   devise/passwords#edit
                             PUT    /customers/password(.:format)        devise/passwords#update
cancel_customer_registration GET    /customers/cancel(.:format)          devise/registrations#cancel
       customer_registration POST   /customers(.:format)                 devise/registrations#create
   new_customer_registration GET    /customers/sign_up(.:format)         devise/registrations#new
  edit_customer_registration GET    /customers/edit(.:format)            devise/registrations#edit
                             PUT    /customers(.:format)                 devise/registrations#update
                             DELETE /customers(.:format)                 devise/registrations#destroy
                      events GET    /events(.:format)                    events#index
                             POST   /events(.:format)                    events#create
                   new_event GET    /events/new(.:format)                events#new
                  edit_event GET    /events/:id/edit(.:format)           events#edit
                       event GET    /events/:id(.:format)                events#show
                             PUT    /events/:id(.:format)                events#update
                             DELETE /events/:id(.:format)                events#destroy
                        root        /                                    events#index

My route file his has follow

  devise_for :customers
  resources :events
  root :to => 'events#index'
  match '/new_customer_registration' => "devise/registrations#new"

I get redirect to this page where the error occurs.

http://localhost:3000/customers/new_customer_registration_path

How can i use it?? Thank in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T16:48:34+00:00Added an answer on June 9, 2026 at 4:48 pm

    it should not be a string but method

    <%= link_to "REGISTER", new_customer_registration_path %>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just started using Twitter Bootstrap http://twitter.github.com/bootstrap/scaffolding.html and I'm looking for the grey/blue navbar
I just started using rapidxml. I 1st create an xml file to read from.
I just started using/learning Python and have some questions. I have a text file
I just started using the new Eclipse 4.2 (Juno) Null Analysis. On code like
I'm using Devise and OmniAuth (Facebook) in a Rails 3 app. I just started
I just started using Eclipse but already I have a small problem. At first
I just started using Scala and Spec2. However, I'm a little bit confusing of
I just started using mysqli API for PHP. Apparently, every time an object of
I just started using virtualenv, and it was working normally until yesterday. Now, and
I just started using git with github. I followed their instructions and ran into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.