documentcloud/underscore — pull request #597 by boz (2012-05-09 03:22:11+00:00)
Title: find an object in an array by the given key and value.

A couple of utility functions for working with arrays of objects.

`var needle = _.findBy([{id:1,name:"foo"},{id:2,name:"bar"}],'id',1)`