As you can see that for every other word except Alumnus(whose plural is
Alumni) and Alumni(which is itself a plural form) pluralize method returns
the exact plural word. Is this a bug in the method implementation?
I encountered this problem while naming my Rails Model Plural (Alumni) and
was amazed to find Table name in the database (supposed to be plural of
Model name according to the convention) to be Alumnis.
Can someone please also explain how the above Rails convention is
implemented i.e. Pluralization of Model Name as Table Name in Database
As you can see that for every other word except Alumnus(whose plural is
Alumni) and Alumni(which is itself a plural form) pluralize method returns
the exact plural word. Is this a bug in the method implementation?
I encountered this problem while naming my Rails Model Plural (Alumni) and
was amazed to find Table name in the database (supposed to be plural of
Model name according to the convention) to be Alumnis.
Can someone please also explain how the above Rails convention is
implemented i.e. Pluralization of Model Name as Table Name in Database