rails/rails — pull request #4805 by xuanxu (2012-01-31 18:53:08+00:00)
Title: Added `none` query method to return zero records.

And added NullRelation class implementing the null object pattern for the `Relation` class.

rebased and squashed