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 7626425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:19:23+00:00 2026-05-31T05:19:23+00:00

I followed the basic steps to add authentication to Rails using Devise from their

  • 0

I followed the basic steps to add authentication to Rails using Devise from their page, but every time I try to visit a default page (such as the Sign In or Sign Up pages), I get:


Routing Error

No route matches {:controller=>"devise/Home"}

This happens whether I link to the page in a view using

link_to('Register', new_user_registration_path) 

or just visit “/users/sign_up”.

This is a different error from when I visit a page with no route defined (No route matches [GET] “/users/bad_example”), and

devise_for :users

is already present in my routes.rb. I have even tried generating views (rails g devise:views) to no avail. It looks like Devise isn’t generating/using a controller or some such. How do I go about fixing this?

Here are some files that may help:

  • routes.rb
  • rake routes output
  • 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-05-31T05:19:24+00:00Added an answer on May 31, 2026 at 5:19 am

    It turns out the problem was not with Devise, but with my routes file. I have fixed my routes file as seen at http://guides.rubyonrails.org/routing.html and now this works properly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So followed all the basic tutorials. Am using Zend 1.8 but i keep getting
I'm attempting to do basic auth with Apache HTTPClient 4.x using the example from
I'm trying to use Basic HTTP Authentication and followed the example on the PHP
Followed this question about delayed_job and monit Its working on my development machine. But
I followed this tutorial on configuring the Rails plugin ExceptionNotifier. I know that I
Program followed by output. Someone please explain to me why 10,000,000 milliseconds from Jan
I followed the RailsCasts tutorial to do a simple search with autocomplete, but it
I followed the explanation on the sIFR wiki, but can't seem to get accented
I followed their how-to: Phonegap Start Phonegap wiki I have succesfully installed the android
I have a live wallpaper that crashes from time to time, and I would

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.