Title: Re: [Rails] Devise's helper - confirmation_url(@resource, confirmation_token: @token) - returns localhost3000
Hassan,

My comments interspersed.

And thank you for your quick reply.

Ralph


Tuesday, July 25, 2017, 1:00:16 PM, you wrote:

HS> On Tue, Jul 25, 2017 at 11:40 AM, Ralph Shnelvar <
[email protected]> wrote:
>> My question: Is there a way for Rails to know if it is running under Apache
>> or under Webrick?

>> Background:
>> I run my Rails website in two environments

>> 1) Under webrick
>> 2) Under Apache

HS> ? "environment" usually refers to one of "development", "test", or
HS> "production".

Ok ... you are correct.

So what is the correct phrase for knowing what kind of server Rails is running under?

HS> Also, what does "under Apache" mean? Using Passenger? Or as
HS> a proxy? If the latter, something has to be doing the actual serving
HS> (i.e. puma, unicorn, thin, webrick (not in production!)).

"Under Apache" means, I think, Apache is somewhere in the rack.  (My understanding of "rack" is, at best, nebulous.

HS> Clarification?

Hassan, you know a LOT more about this than I do.  If my English is unclear, it is because I'm not sure of what I am talking about.

So, again, thank you for your response and patience.

HS> --
HS> Hassan Schroeder ------------------------
[email protected]
HS> twitter: @hassan
HS> Consulting Availability : Silicon Valley or remote




Ralph

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/683989220.20170725131952%40dos32.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to