I'm starting to understand the problems:

- You must define in routes.rb the option :protocol => 'http' or 'https' 
so that Rails can generate the correct links.
- On the pages that use https, you must make sure your links are defined 
using some_name_url so that non-https links will be generated with 
http://...

I have yet to understand 2 issues I am facing:
- how to define the protocol option with map.resources in routes.rb
- why are links that use http completely wrong. Instead of 
http://www.mysite.com/logo.png, I get http://my_rails_folder/logo.png

Anyone to chip in?
-- 
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 rubyonrails-talk@googlegroups.com
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