ActionView::Helpers::TextHelper
pluralize
API docs (Rails 8.1.4.1) ↗def pluralize(count, singular, plural_arg = nil, plural: plural_arg, locale: I18n.locale)
Description
Returns the count followed by the word, in the singular or plural form to match the count.
ERB
Changes from the previous output: Added Removed Changed
HTML
Preview
Form submission
Form data
| name | value |
|---|
Request body
Content-Type:
params