contentBinding is not binding data

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);

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.

1 Like

I guess you mean model.reload()?

1 Like

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

Indeed, I meant model.reload().

1 Like

Thank you for the help.

Also, I forgot to add

gem ‘websocket-rails’

in my gem file.