Handle Uncountable Words in Rails Inflections - Andy Croll
03-Apr-2026 345
Use inflect.uncountable to stop Rails pluralising words like staff, metadata, and feedback.Some English words don’t have a separate plural form. “Staff” is staff, “metadata” is metadata, “feedback” is feedback. Rails doesn’t always know this—it will happily generate a staffs table or a metadatas route if you let it.
Handle Uncountable Words in Rails Inflections - Andy Croll #ruby #rubydeveloper #rubyonrails #Handle #Uncountable #Words #Rails #Inflections #Croll https://www.rubyonrails.ba/link/handle-uncountable-words-in-rails-inflections-andy-croll