# Use Model in Helper with Ember App Kit

**URL:** <https://discuss.emberjs.com/t/use-model-in-helper-with-ember-app-kit/4120>\
**Category:** Uncategorized\
**Created:** [February 10, 2014, 9:04am UTC](https://discuss.emberjs.com/t/use-model-in-helper-with-ember-app-kit/4120 "2014-02-10T09:04:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmathe08](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/gmathe08/32/15496_2.png) [@gmathe08](https://discuss.emberjs.com/u/gmathe08)\
**Post date:** [February 10, 2014, 9:04am UTC](https://discuss.emberjs.com/t/use-model-in-helper-with-ember-app-kit/4120/1 "2014-02-10T09:04:44Z")

</div>

Hi,

I’m actually refactoring a rails-ember app into 2 applications, an api and a front-end app. While I was moving the differents part of the ember application , I had to implement a Helper using a model, i did this:

```
import Language from "appkit/models/language";
export default Ember.Handlebars.makeBoundHelper(function(initials){
   var languages = Language.find();
   var record = languages.filterBy("initials", initials.toLowerCase())[0];
   if(record !== undefined){
     var name = record.get("name");
     return name.capitalize(); 
    }
});

```

But it looks like I can’t use `Language.find()` as a model, even if `Language` is a `(subclass of DS.Model) `, the log tells me that `Language has no method 'find' `. This was working perfectly with ember JS so I presume it’s something with the es6 modules. Any thoughts ?

---

<div class="post-metadata">

**Author:** ![balint](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/balint/32/12521_2.png) [@balint](https://discuss.emberjs.com/u/balint)\
**Post date:** [February 10, 2014, 12:57pm UTC](https://discuss.emberjs.com/t/use-model-in-helper-with-ember-app-kit/4120/2 "2014-02-10T12:57:20Z")

</div>

Calling `find` directly on the model class was eliminated in ember-data.1.0.beta.1, see [here.](https://github.com/emberjs/data/blob/master/TRANSITION.md#elimination-of-modelfind-and-modelcreaterecord)
