I have this:
<h1 class="left"><%= pluralize @player_to_team_histories_count.count, "Player" %> Found
(notice the addition on of the word “Found”)
How do I do that in haml?
%h1.left= pluralize(@player_to_team_histories_count.count, "Player") Found
complains about Found not being a defined constant
Whoops, ask and you’ll figure it out: