Wow, I use one before_filter on my Heroku hosted app. Am I doing something wrong here, or is this just Heroku's awesomeness?
def redirect_to_ssl
redirect_to :protocol => "https://" unless (request.ssl? or request.local?)
end