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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:19:50+00:00 2026-06-02T10:19:50+00:00

In my app I am working on allowing users to send invitations. The invites

  • 0

In my app I am working on allowing users to send invitations. The invites have tokens. And in the emails I am linking to a signup page with the token in the path. In the mailer’s controller I am using:

new_user_registration_url(@invitation.token)

as I saw Ryan Bates do in this railscast. But it appears to be outputting this format:

http://localhost:3000/signup.4a4aebcde29738a39c7f447f58817e49cf9b4cf4

Why is there a “.” instead of a “/”?

Update:

I’m using devise and here are the relevant routes. I am not to confident about these; I had struggled a little with it but these seemed to work:

  devise_scope :user do
    get '/signup/:invitation_token' => "registrations#new", :as => :new_user_registration
  end
  devise_for :users, :controllers => { :registrations => "registrations"}, :skip => [:registrations]
  as :user do
    get '/users/cancel' => 'devise/registrations#cancel', :as => :cancel_user_registration
    post '/users' => 'devise/registrations#create', :as => :user_registration
    get '/signup' => 'registrations#new', :as => :new_user_registration
    get '/users/edit' => 'devise/registrations#edit', :as => :edit_user_registration
    put '/users' => 'devise/registrations#update'
    delete '/users' => 'devise/registrations#destroy'
  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-06-02T10:19:51+00:00Added an answer on June 2, 2026 at 10:19 am

    Wihout routes.rb it’s hard to tell but it seems the author has something like:

    #in routes.rb
    get 'signup' => 'controller#action', as: :new_user_registration
    

    but has to have:

    get 'signup/:token' => 'controller#action', as: :new_user_registration
    

    Checking:

    # in console
    app.new_user_registration_path('ToKeN') # => "/signup/ToKeN"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im working on a bulk email sending app and have a page with a
I have made an android app which working fine. I implemented the Login functionality
I am working on a system using php/mysql where I am allowing users to
I have an app working with databases on both server side and iOS client
hello In my app I have a PayPal Pay Now button (working on Sandbox
I'm working on an app where users can share photos. The photos can optionally
I have been working on this MVC 3 Razor app and typically utilize view
In the app Im working on at the moment we are allowing the user
I've got a nice little web app working that brings down playlists and videos
My app was working and I did not change a single thing in the

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.