lib/capistrano/templates/puma.rb.erb in capistrano3-puma-1.1.0 vs lib/capistrano/templates/puma.rb.erb in capistrano3-puma-1.2.0

- old
+ new

@@ -31,10 +31,10 @@ on_restart do puts 'Refreshing Gemfile' ENV["BUNDLE_GEMFILE"] = "<%= fetch(:bundle_gemfile, "#{current_path}/Gemfile") %>" end -<% if fetch(:puma_init_active_record) %> +<% if puma_preload_app? and fetch(:puma_init_active_record) %> on_worker_boot do ActiveSupport.on_load(:active_record) do ActiveRecord::Base.establish_connection end end