RESTAdapter モデルを使用して、Ember の選択ビューにオプションを入力します。
contentBinding はコントローラーのプロパティにマップされ、ここで this.set('myProperty', model.find(someQuery)) を使用します。
結果が 1 つの model.find(someQuery) は完璧に機能しますが、結果が多数ある model.find(someQuery) には奇妙な効果があります。結果の最後のオブジェクトは、結果の長さと同じ回数だけ表示されます。
{{view Ember.Select contentBinding="myProperty" optionValuePath="content.id" optionLabelPath="content.name" selectionBinding="selectedResult" prompt=" "}}