emberjs/ember-inflector

Wrong irregular pluralization with namespaced model name

artych opened this issue · 4 comments

Wrong irregular pluralization with namespaced model name

i think this issue was valid, why is it closed?

I thought it is more Ember.String issue

Ember.String.pluralize('parties/person'); 
//=> 'parties/persons' (expected 'parties/people')

but yes it is valid for Inflector too

Ember.Inflector.inflector.pluralize("parties/person");
//=> 'parties/persons' (expected 'parties/people')

Yup this is a bug

I've submitted a PR that should fix this: #78