Skip to content

Instantly share code, notes, and snippets.

@igorT
Created March 13, 2013 02:19
Show Gist options
  • Save igorT/5148883 to your computer and use it in GitHub Desktop.
Save igorT/5148883 to your computer and use it in GitHub Desktop.
App.User = DS.Model
settings: DS.belongsTo App.UserSettings
App.UserSettings = DS.Model
friends: DS.HasMany App.Friend
Adapter.map App.User
settings: {embedded: true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment