Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inflector rules #3881

Closed
fsmanuel opened this issue Oct 23, 2015 · 2 comments
Closed

Inflector rules #3881

fsmanuel opened this issue Oct 23, 2015 · 2 comments

Comments

@fsmanuel
Copy link
Contributor

@corrspt reported emberjs/ember-inflector#91

I did some digging and found an inconsistency in the way we use pluralize.
Sometimes we use Ember.String.pluralize (here and here) and in the serializer we import from ember-inflector (here).

It seems that they use different instances. Ember.String.pluralize doesn't use the new inflection rules.

related #3802, #3730

@fsmanuel
Copy link
Contributor Author

as i posted in slack:

// inside an app:
console.log(Ember.Inflector.inflector);
// => ember$inflector$lib$lib$system$inflector$$Inflector

// inside ember data
console.log(Ember.Inflector.inflector);
// => Inflector

@fivetanley
Copy link
Member

fixed by #3888

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants