RubyFlow : Ruby Community Link Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Rack::ForceDomain: Because the alternati...

Rack::ForceDomain (or source on GitHub): Because the alternatives were too complex for my simple mind. Usage on the back of a stamp:

$ gem install rack-force_domain
$ heroku config add DOMAIN="foo.com"
use Rack::ForceDomain, ENV["DOMAIN"]

Comments

Post a Comment

Note: If you are a registered user, you can log in to populate these fields.

You may use ONLY these HTML tags to format your comment:
<a href="" title=""> <b> <blockquote> <code> <em> <i> <strong>
Do NOT use <p> tags. Just use newlines :-)

t
o
q
u
L bum
e
r
y
t
a
i
B tits
n
t
J willy