Flowdock
method

test_to_partial_path

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveModel::Lint::Tests
test_to_partial_path() public

Passes if the object’s model responds to to_partial_path and if calling this method returns a string. Fails otherwise.

to_partial_path is used for looking up partials. For example, a BlogPost model might return “blog_posts/blog_post”.

Show source
Register or log in to add new notes.