1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test/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
..
console_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
credentials_test.rb Do not add master key when RAILS_MASTER_KEY env specified (#31922) 2018-02-08 19:49:50 +09:00
dbconsole_test.rb Fix can't modify frozen String error in DBConsole 2017-08-29 16:50:51 +09:00
encrypted_test.rb Do not add master key when RAILS_MASTER_KEY env specified (#31922) 2018-02-08 19:49:50 +09:00
routes_test.rb Rely on Rails::Command's help output. 2018-03-13 20:56:37 +01:00
secrets_test.rb Deprecate encrypted secrets in favor of credentials. 2017-11-12 17:50:09 +01:00
server_test.rb Use did_you_mean spell checker for option suggestions 2018-03-23 11:36:03 +02:00