instance method find_all

Ruby on Rails edge

Since edge

Signature

find_all(name, prefix = nil, partial = false, details = {}, key = nil, locals = [])

No documentation comment.

Parameters

name req
prefix opt = nil
partial opt = false
details opt = {}
key opt = nil
locals opt = []
Source
# File actionview/lib/action_view/template/resolver.rb, line 156
    def find_all(name, prefix = nil, partial = false, details = {}, key = nil, locals = [])
      requested_details = key || TemplateDetails::Requested.new(**details)
      unbound_templates = unbound_templates_for(name, prefix, partial, !!key)

      filter_and_sort_by_details(unbound_templates, requested_details).map do |unbound_template|
        unbound_template.bind_locals(locals)
      end
    end

Defined in actionview/lib/action_view/template/resolver.rb line 156 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::FileSystemResolver

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close