In my rails app I need to find all where:
balance != nil or 0
pause != true
I tried this but it didn't work
@foo = Product.all
@foo = @foo.where( "pause != ?", true )
@foo = @foo.where( "balance != ?", 0 )
@foo = @foo.where( "balance != ?", nil )