On May 27, 2010, at 10:11 AM, Errol Siegel wrote: >> I assume you meant to say "http://" ? > > Yes! I thought I proof-read so well... > >>> How do I get *_url to generate a url with https:// for the protocol? >> >> some_model_url(:scheme => 'https') >> > Thanks for the response. I guess I was looking for a way to do this > application-wide. It would not be very DRY to have to add (:scheme => > 'https') to every place in my app where I call a *_url helper. > > Is there another way?
Use *_path? I do it and haven't seen any browsers complain about the redirects... -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.