Skip to content

Instantly share code, notes, and snippets.

@ianpetzer
Created May 27, 2013 09:35
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 ianpetzer/5656129 to your computer and use it in GitHub Desktop.
Save ianpetzer/5656129 to your computer and use it in GitHub Desktop.
Ember User model with Opinions
App.User = DS.Model.extend({
name: DS.attr('string'),
opinions: DS.hasMany('App.Opinion')
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment