diff options
author | robertomiranda <rjmaltamar@gmail.com> | 2015-01-31 23:12:37 -0500 |
---|---|---|
committer | robertomiranda <rjmaltamar@gmail.com> | 2015-01-31 23:12:41 -0500 |
commit | ce8efcf296479b506ff36695398f6c88ea3c9e72 (patch) | |
tree | 2aef8dd1b83a5729118fe829836207ff91fb3045 /railties/lib/rails/commands | |
parent | c46c1c1599a9b00373e6ae8d855e372f3435a832 (diff) | |
download | rails-ce8efcf296479b506ff36695398f6c88ea3c9e72.tar.gz rails-ce8efcf296479b506ff36695398f6c88ea3c9e72.tar.bz2 rails-ce8efcf296479b506ff36695398f6c88ea3c9e72.zip |
Use public Module#include, in favor of https://bugs.ruby-lang.org/issues/8846
ref: https://github.com/rails/rails/pull/18763#issuecomment-72349769
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r-- | railties/lib/rails/commands/console.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/console.rb b/railties/lib/rails/commands/console.rb index 35a815a34f..5d37a2b699 100644 --- a/railties/lib/rails/commands/console.rb +++ b/railties/lib/rails/commands/console.rb @@ -79,7 +79,7 @@ module Rails end if defined?(console::ExtendCommandBundle) - console::ExtendCommandBundle.send :include, Rails::ConsoleMethods + console::ExtendCommandBundle.include(Rails::ConsoleMethods) end console.start end |