title: Ruby on Rails: How do you explicitly define plural names and singular names in Rails?
body: <p>For example, I'm using "Bonus" as my model, so I'd expect "bonuses" to be the plural form and "bonus" to be the singular form.</p>
  
  <p>However, in Ruby, this results in:</p>
  
  <pre><code>"bonus".pluralize # bonus
  "bonuses".singularize # bonuse
  </code></pre>
  
  <p>So, when I do a "has_many :bonuses", for example, it doesn't use the Bonus.rb model (since Ruby expects a Bonuse.rb model instead). Is there a way to correct that in Ruby on Rails somehow such that "bonuses" acts as the plural form for the model bonus.rb?</p>