teohm/rackbox-cookbook — pull request #7 by fabrikagency (2013-04-25 14:12:14+00:00)
Title: Unicorn defaults: Preload app and AR connections

- Preload unicorn apps by default.
- Unicorn before_fork disconnects ActiveRecord connections
- Unicorn after_fork establishes ActiveRecord connections
- See https://devcenter.heroku.com/articles/rails-unicorn#preload-app