Rails: English Word Singular And Plural Conversion
require 'active_support/inflector'

puts "user".pluralize #=> users
puts "repositories".singularize #=> repository

S