documentcloud/backbone — pull request #2226 by kossnocorp (2013-01-31 10:52:38+00:00)
Title: Add updateAll function to Collection

``` coffee
ProfileWalkthrough.collection 'Steps',

model: ProfileWalkthrough.Models.Step

setCurrent: (name) ->
@updateAll(current: false)
@get(name).set(current: true)
```