instance method find_partial

Ruby on Rails 3.2.22.5

Since v3.2.22.5 Last seen in v6.0.6 Private

Available in: v3.2.22.5 v4.0.13 v4.1.16 v4.2.9 v5.2.8.1 v6.0.6

Signature

find_partial()

No documentation comment.

Source
# File actionpack/lib/action_view/renderer/partial_renderer.rb, line 328
    def find_partial
      if path = @path
        locals = @locals.keys
        locals << @variable
        locals << @variable_counter if @collection
        find_template(path, locals)
      end
    end

Defined in actionpack/lib/action_view/renderer/partial_renderer.rb line 328 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::PartialRenderer

Type at least 2 characters to search.

↑↓ navigate · open · esc close