From 688e48d93d7e4d7d66a726e024e1a262bbf31b17 Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Sat, 7 Jul 2018 09:41:48 +0200 Subject: Remove restart_command leftover from switching to Thor options. Ref: https://github.com/rails/rails/commit/654704247eba742e139cfaa8d1385f13605d9e12 Before the commit we had a restart_command in Rails::Server. But after there's another one in Rails::ServerCommand. The command version of the method is the right one as it's used in server_options. Give the leftover method the boot. --- railties/lib/rails/commands/server/server_command.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'railties/lib/rails/commands/server') diff --git a/railties/lib/rails/commands/server/server_command.rb b/railties/lib/rails/commands/server/server_command.rb index 4fcb10d53f..2aa663cc0d 100644 --- a/railties/lib/rails/commands/server/server_command.rb +++ b/railties/lib/rails/commands/server/server_command.rb @@ -97,10 +97,6 @@ module Rails end end - def restart_command - "bin/rails server #{ARGV.join(' ')}" - end - def use_puma? server.to_s == "Rack::Handler::Puma" end -- cgit v1.2.3