class method
self._to_partial_path
Ruby on Rails 6.0.6
Since v3.2.22.5Signature
self._to_partial_path()
No documentation comment.
Source
# File actionview/lib/action_view/helpers/form_helper.rb, line 1651
def self._to_partial_path
@_to_partial_path ||= name.demodulize.underscore.sub!(/_builder$/, "")
end
Defined in actionview/lib/action_view/helpers/form_helper.rb line 1651
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Helpers::FormBuilder