reblevins

Results 6 comments of reblevins

@theworkerant I think what you will need to do is something like this. (I'm really new to this, so forgive me if I'm wrong.) This will go in the controller...

@g-cassie I modified my app to use this code, but it never gets fired for some reason. Here's the full code: ``` JavaScript App.MediaController = Ember.Controller.extend(DropletController, { dropletUrl: 'http://localhost:3000/images', useArray:...

Great, @g-cassie, that worked like a charm. My original problem was, that the data being returned wasn't my actual objects being rendered back from my Rails API, but `data` is....

I'm actually using ember-model, but have pretty much hobbled together stuff I've found on stackoverflow. Thanks anyway. I suppose, if I was doing it the regular (non-AJAX way), I would...

Great, it fired and the images got added to the page, but I got this error: ``` Uncaught TypeError: Cannot read property 'length' of undefined jquery.js?body=1:359 jQuery.extend.each jquery.js?body=1:359 App.ImagesController.Ember.Controller.extend.didUploadFiles images.js?body=1:11...

Yes, that did the trick! `console.log(data);` returns the array of JSON objects from my API. And, actually, kind of annoying, but all that code I was using just to update...