# Be sure to restart your server when you modify this file. ActiveSupport::Inflector.inflections do |inflect| inflect.plural(/([rndl])([A-Z]|_|$)/, '\1es\2') inflect.plural(/([aeiou])([A-Z]|_|$)/, '\1s\2') inflect.plural(/([aeiou])([A-Z]|_)([a-z]+)([rndl])([A-Z]|_|$)/, '\1s\2\3\4es\5') inflect.plural(/([rndl])([A-Z]|_)([a-z]+)([aeiou])([A-Z]|_|$)/, '\1es\2\3\4s\5') inflect.plural(/(z)$/i, 'ces') final_plural_rndl = /([aeiou][rndl])es([A-Z]|_|$)/ final_plural_vocal = /((?