I have a simple property on my controller. It's used to render a list of all the emails in a conversation.
conversation: (->
App.Email.filter (otherEmail) =>
@get('model').isIncludedInConversation otherEmail
).property('model')
Everything works fine and dandy when I go to the page because the CP hasn't been computed yet. When I send a new email the conversation property is not updated. I need to switch what email I'm looking at to trigger conversation to recalculate.
I know the filter is being updated. The problem is the CP's value does not change and the underlying {{#each conversation}} is not updated. How can I make this work?
EDIT: I've added fiddle here: http://jsfiddle.net/twinturbo/GUeE3/1/
otherEmailcoming from? shouldn't it be a property dependency? - MilkyWayJoefilterfunction to the callback used to filter github.com/emberjs/data/blob/master/packages/ember-data/lib/… - Cyril Fluck