Rack middleware to redirect requests to the main domain in your app.
Guillermo Iguaran
gem "rack-non-www-enforcer", "~> 0.0.1"