Flowdock
method

partial_path

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: PartialRenderer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

These similar methods exist in v6.1.7.7:

partial_path(object, view) private

Obtains the path to where the object’s partial is located. If the object responds to to_partial_path, then to_partial_path will be called and will provide the path. If the object does not respond to to_partial_path, then an ArgumentError is raised.

If prefix_partial_path_with_controller_namespace is true, then this method will prefix the partial paths with a namespace.

Show source
Register or log in to add new notes.