Less RegEx Less Work

      def all_helpers_from_path(path)
        helpers = Array(path).flat_map do |_path|
          extract = /^#{Regexp.quote(_path.to_s)}\/?(.*)_helper.rb$/
          names = Dir["#{_path}/**/*_helper.rb"].map { |file| file.sub(extract, '\1') }
          names.sort!
        end
        helpers.uniq!
        helpers
      end


As Given in Above comments on all_application_helpers it lists helper names from files in <tt>app/helpers/**/*_helper.rb

now line number 100 does the same.