Skip to content

Instantly share code, notes, and snippets.

@JohnEmhoff
Created November 16, 2012 04:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnEmhoff/4083980 to your computer and use it in GitHub Desktop.
Save JohnEmhoff/4083980 to your computer and use it in GitHub Desktop.
App.FilterController = Em.ArrayController.extend({
loadNextPage: function() {
this.addObjects(App.Url.find({interval:'day'}))
}
});
@JohnEmhoff
Copy link
Author

The exception I get on the addObjects line is:

Uncaught Error: The result of a server query (on App.Url) is immutable.

@sly7-7
Copy link

sly7-7 commented Nov 16, 2012

How is your FilterController initially populated ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment