Ember-data 1beta plurals


#1

I don’t understand how to add custom plurals for the adapter in ember-data 0.13 was

Wus.Adapter.configure("plurals", {
    prodotto: "prodotti"
});

i read the ember-data modification here

but anyway I dont understand how to add custom plurals… I understand it’s my fault but I need a sample code help from someone :smiley:


#2

I try

var inflector = Ember.Inflector.inflector;
inflector.irregular("prodotto", "prodotti");

in my app.js but I receive

Uncaught TypeError: Object #<Object> has no method 'irregular' 

#3

ok, I just update to the latest emberdata canary version and the inflector work :blush: