Can I just work with regular data objects?


I have a simple model:

  name: "foo",
  description: "bar

But when I get it using this.get(“model”) I get this Ember object I have no idea how to work with.

How can I iterate over the fields? How can I just work with the dictionary?

#2 & should be helpful.


You can work with Ember objects as with plain object. Use for … in, or Ember.keys() to enumerate fields.