ssl_requirement
ssl_requirement copied to clipboard
SSL Requirement plugin
with Rails 4.2 ActionDispatch::Routing::RouteSet. Arity of methods in ActionDispatch::Routing::RouteSet slightly changed. Now they are more liberal and accept more arguments as `*args`. This change is compatible with Rails 3 &...
Hi - I was profiling a slow page with a lot of url_fors, and found the `non_ssl_host` method showing up in my profile. Throwing exceptions & catching them is relatively...
Just change `unless + else` constructions for make code more readable.
if "ssl_allowed :all" option is double defined ssl_allowed function is invalid for example... ``` class ApplicationController < ActionController::Base ssl_allowed :all end class PaymentController < ApplicationController ssl_allowed :all end ``` payment...
This branch refactors the URL generation to use URI to construct the string, rather than using string concatenation directly. It also cleans up a few small build issues I encountered...
`ssl_required` should accept the `:all` option like `ssl_allowed` does.