with the advent of hijacking tools for dummies firesheep the need for securing your sessions with ssl is there.
this is derived from the rails/ssl_requirement and adopted a more strict approach: secure everything and open it where needed.
info about the actual gem please look into the directory enforce-ssl-gem
the demo is a sample rails3 application with integration tests. see readme how to start the application and what limitations apply.
first you need jruby for this ! then you need to install
jruby -S gem 'ruby-maven'
which allows to run the integration-tests from the demo with jetty.
now you can execute