Computed properties in a model

Hi all,
I'm trying to use a computed property with a model, and don't see that the method is ever called. I guess I misunderstand the documentation, but I can't find an example. Here's my code:
Since "sport" is defined in "computed", I would expect s.get("sport") to call the method (once, as it should be cached afterwards). However, it never gets called...


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!