it sounds like you've got a template showing all of the categories, and the item controller for the category is CategoryController
. Probably something like this:
{{#each category in controller}}
{{category.name}}
{{/each}}
As I'm sure is happening to you, when the controller attempts to calculate name
on the controller it crashes. There are a few ways you can accomplish this, one being filtering if the category isn't new.
{{#each category in controller}}
{{#unless category.isNew}}
{{category.name}}
{{/unless}}
{{/each}}
You can also filter based on the state of the record, though that changes frequently and there are a plethora of different states.