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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:43:30+00:00 2026-06-01T07:43:30+00:00

When a user gets mailed the change password link in our app from our

  • 0

When a user gets mailed the change password link in our app from our production server, for whatever reason, they’re getting an absolute url without the colon the http://. As a result, people are complaining the link doesn’t work.

The issue only occurs on my production environment, but I do have this set in /config/environments/production.rb:

config.action_mailer.default_url_options = { :host => 'http://www.blah.com' }

So I’m not sure what the issue could be. I’ve also searched the entire site for the string “http//” to see if it was just a typo in a setting someplace, but no dice.

The confirmation_instructions.html.erb itself is untouched and the link is generated as such:

<p><%= link_to 'Confirm my account', confirmation_url(@resource, :confirmation_token => @resource.confirmation_token) %></p>

So what the crap would cause my server to drop the : from http://?? Has anyone ever run across this issue before? Any theories on how to fix it? 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-06-01T07:43:32+00:00Added an answer on June 1, 2026 at 7:43 am

    I ran into this problem too. The issue (oddly) is that you’re using a full URL in the default_url_options (:host => ‘http://www.blah.com’). If you put http://www.blah.com instead it appears to work. I ran into this problem last night and this was the quickest fix for me.

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

Sidebar

Related Questions

I am making an app where the user gets daily book recommendations from an
I have a page where the user gets directed to if they want to
If we export to Excel from the ReportingServices reports web site, the user gets
We are making our very first iPhone game, and if the user gets a
I have a poll app running on facebook (each user gets a vote each
I have a ASP.NET website where a user gets large data from a DB
I'm making a page where the user gets a javascript slider that goes from
I have an app I'm working on where the user gets navigated two pages
The very first time you start a push app, the user gets asked if
I have an application where every user gets there own database and runs from

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.