method
test_to_partial_path
v4.2.1 -
Show latest stable
- Class:
ActiveModel::Lint::Tests
test_to_partial_path()public
Responds to to_partial_path
Returns a string giving a relative path. This is used for looking up partials. For example, a BlogPost model might return “blog_posts/blog_post”