ActionView::Helpers::OutputSafetyHelper
to_sentence
API docs (Rails 8.1.4.1) ↗def to_sentence(array, options = {})
Description
Returns a string joining the elements of the array like an English sentence.
ERB
Changes from the previous output: Added Removed Changed
HTML
Preview
Form submission
Form data
| name | value |
|---|
Request body
Content-Type:
params