KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there a helper to avoid this sort of code? = @leads.length == 1 ? 'is' : 'are' I know about pluralize but it doesn't help in this case. I know that writing a helper would be trivial, I want to know if there's something in the Rails API that I have overlooked. Thanks, -Tim
Tags (comma-separated)
Save Edits
Cancel