Assume you have an array of person names. I want to generate results in
my view that look like this:
Abby is your friend
Abby, Bob, and Carol are your friends.
So I’d like to say:
<%= friends.to_sentence %> <%= pluralize(friends.count, "is") %> your <%= pluralize(friends.count, "friend") %>
But because pluralize puts in the number, I get:
Abby 1 is your 1 friend
Abby, Bob, and Carol 3 are your 3 friends.
Is there a way around this? The API only shows the one form for