rails/rails — pull request #5160 by tinogomes (2012-02-24 23:24:34+00:00)
Title: Sugar sintaxe: :not_nil on finders to query with IS NOT NULL

Model.where(:field => :not_nil) will make a sql query like "...WHERE field IS NOT NULL..."