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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:35:14+00:00 2026-06-10T22:35:14+00:00

It is strange. I’m writing custom user registration and want to make redirection to

  • 0

It is strange. I’m writing custom user registration and want to make redirection to OTHER page after user creation, but it want to call show action.

Here is my controller:

def create
  @user = User.new(params[:user])

respond_to do |format|
  if @user.save
    format.html { redirect_to users_verify_path }
  else
    format.html { render action: "new" }

  end
end

end
def verify
…
end
in routes.rb:

       resources :users

       root :to => 'users#new'

        get "users/verify"

when I rename action into SHOW everything is working. If I name it VERIFY – it shows me:

    Unknown action

    The action 'show' could not be found for UsersController

it is obvious error, because I deleted action show. But WHY it is redirecting to show ?

  • 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-10T22:35:15+00:00Added an answer on June 10, 2026 at 10:35 pm

    Try to write get “users/verify” before resources :users

    or

    resources :users do
      member do
        get 'verify'
      end
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Strange situation - examples from apple works, but after i change them a bit,
Strange trouble I want to upload image via ajax which many plugin does but
Strange how I can do it in C++,but not in C#. To make it
Strange, but I can't find a duplicate for this question. I have a superclass
Strange one this, which isn't programming related directly, but I thought it important to
Strange.. with my installation of the Zend Framework <?php echo $this->user; ?> works fine
Strange behavior I noticed. I have a hidden (display:'none') HTML on a page. Then
Strange question, I know, but one thing I seem to be feeling with ASP.Net
Strange character is shown as � in while my page encoding is in utf-8
Strange thing...theres no code this time but the using System.ServiceProcess; import gets a red

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.