Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove the id attribute from the model

  • Loading branch information...
commit 11a369b9a58cc4ea2aa0cc76e51f189b7b26c0fa 1 parent 267173e
@bschaeffer authored
Showing with 0 additions and 15 deletions.
  1. +0 −15 packages/ember-ohm/lib/attributes/model_ext.js
15 packages/ember-ohm/lib/attributes/model_ext.js
@@ -7,27 +7,12 @@
- The `id` property of the model.
- For some reason, in my projects, this has generally been a `readonly`
- attribute. Therfore, it's defined that way here by default.
- **Note for agitators:** Pull requests welcome.
- @property id
- @type Number
- */
- id: Ohm.attr('number', {readonly: true}),
- /**
`isDirty` defines whether any of the model's attributes defined using one
of the `Ohm` attribute methods have changed.
Privately, it is computed from the length of the model's
{{#crossLink "Ohm.Attributes.Changes"}}changes{{/crossLink}}.
- **This property should never, ever, ever in it's life be `set`.**
@property isDirty
@type Boolean
Please sign in to comment.
Something went wrong with that request. Please try again.