rails 3 - Securing an app with SSL

I have a rails 3 app hosted on heroku which contains sensitive data which is why i want to implement SSL. The info I learned from google searching doesn't exactly match my use case as I want to SSL the entire site. I'd like your help understanding the following.

Is there a simple way to force all app requests to use SSL? I want the landing page to even have SSL as the landing page has a sign in form. It seems like it'd be a lot simpler to SSL everything than select SSL on a per page basis. That being said, do I need a gem for this?

Thank you

Answers


This article should help you.


Look for a Rack middleware that accomplishes this.


Need Your Help

How can I change the colors of my highcharts piechart?

javascript highcharts highstock

I'm using highcharts to make a piechart but I'm having trouble loading a custom color set for my chart.

Equation for “importance” value of twitter user according to #followers #following

algorithm math sorting ranking

I am trying to find an equation which calculates the "importance" of a twitter user according to #following #followers