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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:16:00+00:00 2026-05-26T15:16:00+00:00

I have created a new project using devise login according to Ryan Bates’ railscast

  • 0

I have created a new project using devise login according to Ryan Bates’ railscast.
It does not have the registration routes (unlike a previous project I made, with exactly the same steps)

This image shows the two ‘rake routes’ commands. The top shell is my previous project that works flawlessly and the bottom is the new project.

Is there any logical reason that it didn’t create the routes properly? Can I add the routes? How do I make it work?

EDIT:
Here is my routes.rb file, identical to a working devise project, standard comments removed.

Clubadmin::Application.routes.draw do
  #added by devise
  devise_for :users
  #added by me for home page
  root :to => "home#index"
  #And I don't like RESTful apps.
  match ':controller(/:action(/:id(.:format)))'
end
  • 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-26T15:16:01+00:00Added an answer on May 26, 2026 at 3:16 pm

    Ok, I can’t see why the version Ryan Bates uses would not work twice, but I installed devise 1.4.9 and followed the installation briefly outlined here.

    To make the logout link work I had to change the path type from :delete to :get in config/initializers/devise.rb

    config.sign_out_via = :delete
    

    to

    config.sign_out_via = :get
    

    And it has worked twice so far.

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

Sidebar

Related Questions

I have created a new ASP.NET MVC project using the MVC Project Template. According
i am using asp.net framework 4 and i have created brand new project and
I have created a new team project using sfts v3.0 project template. Later I
Using Flex Builder : I have created a new Actionscript Project. I want to
I have created a new MVC2 project using the ASP.NET MVC2 Web Application, which
I have created a new Xcode project using Storyboards (tab view template). I added
I am using NetBeans IDE and have created a new project. The new project
I have created a new method in one of the project's controllers that it
I have created the following project structure for my new asp.net mvc project any
I created a brand new project using the default Web Application template and I

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.