serialize (record, options) Object
The serialize method is used when a record is saved in order to convert the record into the form that your external data source expects.
serialize takes an optional options hash with a single option:
- 
includeId: If this istrue,serializeshould include the ID in the serialized object it builds. 
Parameters:
- 
record 
DS.Model - 
options 
[Object] 
Returns:
- 
Object 
Please login to continue.