From: Errol Siegel on 26 May 2010 16:02
I am using *_path in views and *_url in controllers (with redirect_to,
for example). It is my understanding that this is generally considered
a good practice.
I want to use my app using https, and thought it would work that way as
long as I loaded the app by browsing to https://my.app.com. However, it
appears that even if I do this, redirect_to some_model_url generates a
url with a protocol of https://.
How do I get *_url to generate a url with https:// for the protocol?
Posted via http://www.ruby-forum.com/.