I have a Rails application that needs to be run under SSL. I tried ssl_requirement, but it seems to me that I should enter all the actions in each controller.
Is there any method that I can add before filter in the application controller using ssl_requirement so that applications are automatically redirected to https when the user request is in http?
Thanks to everyone. :)
ruby-on-rails ssl ruby-on-rails-2
Victor Lam Oct 05 '10 at 7:51 2010-10-05 07:51
source share