SyntaxFix
Write A Post
Hire A Developer
Questions
Not sure of this is helpful but this what worked for me in Rails 4
Foo.where.not(bar: nil)