To enable SSL in your rails app, do the following:
ruby script/plugin install ssl_requirement.include SslRequirement to your ApplicationController (located in app/controller/application_controller.rb.ssl_required :action1, :action2 (where :action1 and :action2 are the actions on which you wish to force SSL) to the top of the controller class.ssl_allowed :action1, :action2 to the top of the controller class.Optional: If you wish to force SSL for all actions in a controller or for the entire application, add the following function to the controller_controller.rb or application_controller.rb, respectively:
more:def ssl_required? true end