cakephp/cakephp — pull request #422 by scottharwell (2012-01-18 20:21:05+00:00)
Title: Error Using NOT IN () with Arrays for Conditions (Issues #796 & 821)

I think that this issue could be solved with the check I added in this commit. It extends the check for and array with 1 value and a string key, and looks for `NOT` at the end of the key. It passed all of the core unit tests. I will also add a unit test to case #796 since I can't attach them here. I can't think of any other times where this could fail, so I am submitting for integration.