Plurals in Rails model associations

Remember: with has_many, use:

has_many :comments
With has_one, use:
has_one :comment
Kind of duh, but things really break if you don’t do this. It’s a great way to get NameError: uninitialized constant errors with :through, for one.

🌟 Was this page helpful? Please let me know with this quick, 3 question survey.