Here's a reason where I wish I was using _url everywhere.

I've switched my site to almost all ssl except for a google map page 
which needs to be in non-ssl ($10,000 for the ssl version).  On that 
page (just like every other page) are about 15-20 navigation links that 
should point to https/ssl pages even though the map page itself is http.

I wish I wouldn't have to go through and change all those links to point 
to https using _url.  I could instead use ssl_requirement and specify 
all pages should be ssl except for my map page, but I think I'd rather 
make all 15-20 links of navigation use the _url instead and force https 
to avoid an unneeded redirect/latency.  I actually have redirects in 
apache conf file instead of using ssl_requirement, but same idea...why 
redirect when you can specify _url and have less latency?

If you have a solution for me that would relieve my need to have _url 
for all my navigation due to the one http map page, please, let me know.

Kevin


Madhav V. wrote in post #969656:

>
> How would it save headaches in case of https?.
>

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to