diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-10-02 16:04:23 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-10-02 16:04:23 -0400 |
commit | 92fece96da28d9f641bc8a8db1187b91c94cabfb (patch) | |
tree | b42943a968ce869a9d716b1f798e861d7700bffb /railties/lib | |
parent | 59a6ba4bd585f53a02b118011599b835e47773ea (diff) | |
parent | c401c43850e79a4d994e22dd8d82a69612bb947f (diff) | |
download | rails-92fece96da28d9f641bc8a8db1187b91c94cabfb.tar.gz rails-92fece96da28d9f641bc8a8db1187b91c94cabfb.tar.bz2 rails-92fece96da28d9f641bc8a8db1187b91c94cabfb.zip |
Merge pull request #34051 from gmcgibbon/module_parent_method_rename
Prefix Module#parent, Module#parents, and Module#parent_name with module
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/railtie.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/railtie.rb b/railties/lib/rails/railtie.rb index 88dd932370..a67b90e285 100644 --- a/railties/lib/rails/railtie.rb +++ b/railties/lib/rails/railtie.rb @@ -224,7 +224,7 @@ module Rails end def railtie_namespace #:nodoc: - @railtie_namespace ||= self.class.parents.detect { |n| n.respond_to?(:railtie_namespace) } + @railtie_namespace ||= self.class.module_parents.detect { |n| n.respond_to?(:railtie_namespace) } end protected |