instance method
find_all
Ruby on Rails 6.0.6
Since v3.0.20Signature
find_all(name, prefix = nil, partial = false, details = {}, key = nil, locals = [])
Normalizes the arguments and passes it on to find_templates.
Parameters
-
namereq -
prefixopt = nil -
partialopt = false -
detailsopt = {} -
keyopt = nil -
localsopt = []
Source
# File actionview/lib/action_view/template/resolver.rb, line 116
def find_all(name, prefix = nil, partial = false, details = {}, key = nil, locals = [])
locals = locals.map(&:to_s).sort!.freeze
cached(key, [name, prefix, partial], details, locals) do
_find_all(name, prefix, partial, details, key, locals)
end
end
Defined in actionview/lib/action_view/template/resolver.rb line 116
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Resolver