grammar in views
- by jspooner
I'm displaying a string like "I'm an Actor" or "I'm a skateboarder" and need to use a or an correctly.
Is there a nifty rails view helper to see if a word starts with a vowel?
<p>I'm an <%= @user.skills %></p>
<p>I'm a <%= @user.skills %></p>