Staging Gem

Staging rack application purpose to protect you Rails application from anonymous and prying.

Usage

Examples

In you Rails initializer

config.middleware.use 'Rack::Staging', :code => 'Hfgo_JHg+47'
config.middleware.use 'Rack::Staging', 
  :code => 'Hfgo_JHg+47',
  :template_path => "#{Rails.root}/app/views/staging/index.html" # custom template

… and now you are ready to protected staging!