lox/pheasant — pull request #94 by bjornpost (2013-11-07 21:33:39+00:00)
Title: Quick-fix to bindInto, so filter() and find() handle IN() queries equally

Hi Lox,

We've noticed `find()` and `filter()` do not behave equally when given this syntax:

\Model\Project::find('status = ?', array('foo', 'bar');
\Model\Project::all()->filter('status = ?', array('foo', 'bar'));

The last call (right now) results in a "Parameters left over in bind" exception.

This pull request demonstrates the issue with two test cases and provides a quick/dirty(?) fix.

/cc: @jorisleker