diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2018-01-01 01:18:17 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2018-01-07 20:48:53 +0530 |
commit | b821f95403bb3853264dd689de5c974ec00c9c8f (patch) | |
tree | e47b8e90f9bfc114b0c38d43db004157154ff320 /railties/lib/rails/commands | |
parent | a736e82170c6731dee01cf2f20d0dcb0fd2be5c0 (diff) | |
download | rails-b821f95403bb3853264dd689de5c974ec00c9c8f.tar.gz rails-b821f95403bb3853264dd689de5c974ec00c9c8f.tar.bz2 rails-b821f95403bb3853264dd689de5c974ec00c9c8f.zip |
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.rb | 2 |
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 |