How to have *_url generate urls with https:// protocol


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 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?