maccman/spine — pull request #250 by abernier (2012-04-01 23:36:30+00:00)
Title: Allow Model::updateAttribute to update an attribute which is a function

```coffeescript
class Asset extends Spine.Model
@configure 'Asset', 'name'
name: (value) ->
@name = value.toLowerCase()

foo = Asset.create(name: 'Foo.PDF')
```
--

we can update `foo`'s `name` attribute which is a function:

```coffeescript
foo.updateAttribute('name', 'Bar.PDF')
```

because `Model::updateAttribute` now relies on `Model::load` through `Model::updateAttributes`

Hope this make sense.

Cheers