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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:52:05+00:00 2026-05-22T01:52:05+00:00

it is the first time I am working with devise and I am a

  • 0

it is the first time I am working with devise and I am a confused by the massive amount of files and configuration options.
Before installing devise, I used the nifty:authentication from ryan bates – which I didn’t delete before installing devise and I guess now my routes and/or controllers are a little screwed up.

well, after singing in on /users/sign_in devise tries to redirect me to

http://localhost:3000/sessions/user

but I get the error:

No route matches "/sessions/user"

I don’t know where is the error, any help appreciated

I put all the relevant code in a gist: https://gist.github.com/972058

thanks 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-05-22T01:52:06+00:00Added an answer on May 22, 2026 at 1:52 am

    That’s because you don’t have root path in your routes. As you can read in devise page: https://github.com/plataformatec/devise

    After signing in a user, confirming
    the account or updating the password,
    Devise will look for a scoped root
    path to redirect. Example: For a :user
    resource, it will use user_root_path
    if it exists, otherwise default
    root_path will be used. This means
    that you need to set the root inside
    your routes

    To specify redirect page you need to do this https://github.com/plataformatec/devise/wiki/How-To:-Redirect-to-a-specific-page-on-successful-sign-in

    btw. you don’t need sessions controller to make it works

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

Sidebar

Related Questions

I'm working for the first time with Forms Authentication, I'm using an example from
I'm working with jQuery for the first time and need some help. I have
I'm working with caching and persistence for the first time. I have a user
I'm working with embedded C for the first time. Although my C is rusty,
I am working on a Java project using Netbeans for the first time. I
I'm just getting started working with foreign keys for the first time and I'm
First time working with the HTMLParser module. Trying to use standard string formatting on
This is my first time working with Objective-C, and I keep trying to create
So, I'm working for the first time with embedding a RSS (or atom, but
This is the first time i am working with Lists and I don't seem

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.