# File lib/tapkit/access/model.rb, line 185 def plural_name( name ) if (name =~ /s$/i) or (name =~ /sh$/i) or \ (name =~ /ch$/i) or (name =~ /x$/i) then "#{name}es" elsif name =~ /(?!(a|i|u|e|o))y$/i then "#{name.chop}ies" elsif name =~ /(?!(a|i|u|e|o))o$/i then "#{name}es" elsif name =~ /f$/i then "#{name.chop}ves" elsif name =~ /fe$/i then "#{name.chop.chop}ves" else "#{name}s" end end