contentBinding is not binding data


#1

I’m using

App.ThumbListSelectableView contentBinding=‘auth.user.images’

to display all the images current user has uploaded… But, I’m not getting the latest image without reloading the page. Also, I get following error

Error: Assertion Failed: Error: Assertion Failed: calling set on destroyed object var tmp = Error.apply(this, arguments);


#2

Try using model.refresh() to force a reload of server data.

Not sure what the error means, but it could be related to a side effect of reloading the page and something not getting initialized.


#3

I guess you mean model.reload()?


#4

Oops, you’re right (still waking up).

Indeed, I meant model.reload().


#5

Thank you for the help.

Also, I forgot to add

gem ‘websocket-rails’

in my gem file.