Skip to content

Commit

Permalink
Remove active record from puma config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McDonald committed Jul 11, 2015
1 parent bd45c2c commit 57ec8bf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,3 @@
rackup DefaultRackup
port ENV['PORT'] || 3000
environment ENV['RACK_ENV'] || 'development'

on_worker_boot do
# Worker specific setup for Rails 4.1+
# See: https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#on-worker-boot
ActiveRecord::Base.establish_connection
end

0 comments on commit 57ec8bf

Please sign in to comment.