From f230dbf6990fe4d2b7d33ef2caa3715a33bc0328 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 22 Oct 2013 11:00:55 -0700 Subject: [PATCH] this should be private, no other instances of Root should call it --- railties/lib/rails/paths.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/lib/rails/paths.rb b/railties/lib/rails/paths.rb index 4a455e9196..c8a74e794b 100644 --- a/railties/lib/rails/paths.rb +++ b/railties/lib/rails/paths.rb @@ -96,7 +96,7 @@ def load_paths filter_by { |p| p.load_path? } end - protected + private def filter_by(&block) all_paths.find_all(&block).flat_map { |path| -- GitLab