Skip to content

add pluralize method to component #85

Closed
@catmando

Description

@catmando

pluralize is already available as part of ActiveSupport, but the equivalent text helper is not available.

I.e. "#{pluralize(Todo.active.count, 'item')} left"

generates either 1 item left or 2 items left etc...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestready-to-releaseInternal Use Only: Has been fixed, specs passing and pushed to edge branch

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions