Skip to content

add pluralize method to component #85

Closed

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...

Activity

  1. added this to the alpha1.3 milestone on Dec 11, 2018
  2. catmando commented on Jan 15, 2019

    @catmando
    ContributorAuthor

    closed. see hyper-component/spec/client_features/helpers_spec.rb:4 for example

  3. added
    enhancementNew feature or request
    ready-to-releaseInternal Use Only: Has been fixed, specs passing and pushed to edge branch
    on Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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