Skip to content

Instantly share code, notes, and snippets.

@sgharms
Created January 13, 2012 16:55
Show Gist options
  • Save sgharms/1607494 to your computer and use it in GitHub Desktop.
Save sgharms/1607494 to your computer and use it in GitHub Desktop.
A handy way to debug what Rails hands to Backbone
/*
Timesheet.Tasks.reset(#{@tasks.to_json.html_safe});
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment