Hi,

you can try to modify the ssl_requirements the plugin to fit your need.

Warning: I was using it a couple of years ago and my suggestion may be
outdated :)

trigger the ssl required with ssl_required :action_name in the
controller and modify ensure_proper_protocol to add 'www' when
missing:

https://gist.github.com/726486


On Wed, Dec 1, 2010 at 1:44 PM, CuriousNewbie <[email protected]> wrote:
> Hello I'm looking to learn how to redirect all non-www (mysite.com) to
> https://www.mysite.com


-- 
Emanuele Tozzato
http://mekdigital.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