```ruby
require './boot'
require 'rack/static'

use Rack::Static, urls: %w(/favicon.ico /images /stylesheets), root: 'public'
run Bouncer.new
```

Use middleware to release the database connection after each request
user
```ruby
require './boot'
require 'rack/static'

use Rack::Static, urls: %w(/favicon.ico /images /stylesheets), root: 'public'
use ActiveRecord::ConnectionAdapters::ConnectionManagement
run Bouncer.new
```
assistant