Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Jose Carrion's Profile

GitHub User: joselo


Comments by Jose Carrion


I'm wondering how can I load a SelectBox using a restful resource.

Directjobs.CategoryListView = Ember.Select.extend
  contentBinding: "Directjobs.CategoriesController"
  optionLabelPath: ""
  optionValuePath: ""

However it does work, I'm not sure if I have to load the content to the controller first, because I have the route in this way.

coffeescript (match) ->
  @route 'entries', path: '/'
  @resource "categories", path: '/categories' (match) ->
  @route 'entries', path: '/'
  @resource "categories", path: '/categories'

Any Ideas?


I've been using ElasticSearch it's going fine, but I'm wondering if it's possible make 'operations' I mean for example how can I get the average or plus two values etc. ?? I'm not sure if can I do this using Tire??

If does anyone knows any solution I really appreciate