rails/rails — pull request #10987 by senny (2013-06-18 06:41:43+00:00)
Title: `CollectionProxy#include?` returns `true` and `false` as documented.

Closes #10979

The `CollectionProxy#include?` method is documented to return `true` but it can also return `1` and `nil`. I adjusted the tests and the implementation to make sure it returns booleans.