diff options
author | robertomiranda <rjmaltamar@gmail.com> | 2015-01-31 22:18:54 -0500 |
---|---|---|
committer | robertomiranda <rjmaltamar@gmail.com> | 2015-01-31 22:19:48 -0500 |
commit | c46c1c1599a9b00373e6ae8d855e372f3435a832 (patch) | |
tree | 238d7b6414e15e706df57922a059ca946ec4a51a /guides/source | |
parent | 70ac072976c8cc6f013f0df3777e54ccae3f4f8c (diff) | |
download | rails-c46c1c1599a9b00373e6ae8d855e372f3435a832.tar.gz rails-c46c1c1599a9b00373e6ae8d855e372f3435a832.tar.bz2 rails-c46c1c1599a9b00373e6ae8d855e372f3435a832.zip |
Use Module#include instead of send :include, since now is a public method [ci skip]
ref https://bugs.ruby-lang.org/issues/8846
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index d7fbe575c2..909a92b9dd 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -534,7 +534,7 @@ module FixtureFileHelpers Digest::SHA2.hexdigest(File.read(Rails.root.join('test/fixtures', path))) end end -ActiveRecord::FixtureSet.context_class.send :include, FixtureFileHelpers +ActiveRecord::FixtureSet.context_class.include FixtureFileHelpers ``` ### I18n enforcing available locales |