1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/commands
Genadi Samokovarov cb25f2c989 Use did_you_mean spell checker for option suggestions
Now that we require Ruby over `2.3`, we can replace the current
suggestion methods we have with tooling from the `did_you_mean` gem.

There is a small user visible change and this is that we now offer a
single suggestion for misspelled options. We are suggesting fixes during
generator invocation and during a mistyped rails server rack handler. In
both cases, if we don't make a proper prediction on the first match, we
won't do so in the second or third one, so in my mind, this is okay.
2018-03-23 11:36:03 +02:00
..
application [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
console [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
credentials Do not add master key when RAILS_MASTER_KEY env specified (#31922) 2018-02-08 19:49:50 +09:00
dbconsole Switch dbconsole config loader check 2018-03-16 12:40:34 -04:00
destroy [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
encrypted Do not add master key when RAILS_MASTER_KEY env specified (#31922) 2018-02-08 19:49:50 +09:00
generate [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
help Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
new Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
plugin [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
rake Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
routes Rely on Rails::Command's help output. 2018-03-13 20:56:37 +01:00
runner Use TOPLEVEL_BINDING in rails runner command 2017-09-22 10:42:28 +09:00
secrets Fix secrets command deprecation message 2017-12-11 21:39:41 -08:00
server Use did_you_mean spell checker for option suggestions 2018-03-23 11:36:03 +02:00
test [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
version Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00