aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@users.noreply.github.com>2018-01-07 11:03:53 -0500
committerGitHub <noreply@github.com>2018-01-07 11:03:53 -0500
commit3b57bf22739e4954ec2edc86775f4ee77d6226bc (patch)
tree899ef189db78db2fd22ce1f9d45543bd1a95edb2 /railties/lib/rails/commands
parentf614c5f10874f467a21c5360e764e6d14ffc9f49 (diff)
parentb821f95403bb3853264dd689de5c974ec00c9c8f (diff)
downloadrails-3b57bf22739e4954ec2edc86775f4ee77d6226bc.tar.gz
rails-3b57bf22739e4954ec2edc86775f4ee77d6226bc.tar.bz2
rails-3b57bf22739e4954ec2edc86775f4ee77d6226bc.zip
Merge pull request #31610 from prathamesh-sonpatki/improve-deprecation-msg-pr-29358
Improve the deprecation message for using subclass of Rails::Application to start the Rails server
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r--railties/lib/rails/commands/server/server_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/server/server_command.rb b/railties/lib/rails/commands/server/server_command.rb
index 703ec59087..e546fe3e4b 100644
--- a/railties/lib/rails/commands/server/server_command.rb
+++ b/railties/lib/rails/commands/server/server_command.rb
@@ -27,7 +27,7 @@ module Rails
app = super
if app.is_a?(Class)
ActiveSupport::Deprecation.warn(<<-MSG.squish)
- Use `Rails::Application` subclass to start the server is deprecated and will be removed in Rails 6.0.
+ Using `Rails::Application` subclass to start the server is deprecated and will be removed in Rails 6.0.
Please change `run #{app}` to `run Rails.application` in config.ru.
MSG
end