rails/rails — pull request #5590 by xuanxu (2012-03-26 17:48:29+00:00)
Title: Make NullRelation chainable with database methods.

Now ```none```method doesn't work as expected if chained with methods that query the database directly, like pluck or delete_all, as stated by @josevalim here: 8270e4a8ce8337fca98030953922e5992b06a3dd

This PR fixes it adding a false where condition.