- Calling a find with 1 argument returns a record array (identity map)
- Ajax Errors will cause the failure callback to execute
- Created records exist in the record array returned by all
- data returned from commit will overwrite record data -- This happens for model data which is an update -- Can also add new models by updating relationships and sideloading data
- meta object in payload allows you to store type specific data
- buildURL can make nested relationship calls (/posts/:post_id/comments/:comment_id)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execute pathogen#infect() | |
set nocompatible " choose no compatibility with legacy vi | |
syntax enable | |
set encoding=utf-8 | |
set showcmd " display incomplete commands | |
filetype plugin indent on " load file type plugins + indentation | |
"" whitespace | |
set nowrap " don't wrap lines |
I hereby claim:
- I am olivia on github.
- I am ofbriggs (https://keybase.io/ofbriggs) on keybase.
- I have a public key whose fingerprint is C649 B3D0 3794 D290 5C7F 033B F6BE 699B B559 B06A
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
plural: Ember.computed(function() { | |
return Ember.Inflector.inflector.pluralize("gas"); | |
}), | |
singular: Ember.computed(function() { | |
return Ember.Inflector.inflector.singularize("gases"); | |
}), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
plural: Ember.computed(function() { | |
return Ember.Inflector.inflector.pluralize("gas"); | |
}), | |
singular: Ember.computed(function() { | |
return Ember.Inflector.inflector.singularize("gases"); | |
}), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle' | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"backcolor": "#b0b0b0", | |
"name": "M65 SA Template" | |
}, | |
[ | |
{ | |
"c": "#f6d9d5", | |
"t": "#363636", | |
"p": "SA", |