The rack-auth-cheat library provides a Rack middleware interface which authenticates any request with a matching username and password. This is useful in development environments, especially as a way to stub out an external authentication system. Be sure to include this from an environment-specific file such as config/environments/development.rb rather than from a global configuration file such as config/environment.rb